diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-08 08:39:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-08 08:39:36 +0200 |
commit | 213bc71f84c8f8494f5b5009b730b5a7af2c7cee (patch) | |
tree | 4e26514b812625615d45d317a3987d9b66ba4ac7 /vcl/unx/generic/printer | |
parent | 35a7310e7fc16f609f895c043ceb8e99a251b3ee (diff) |
Clean up function declarations and some unused functions
Change-Id: I382289c7188dfdc9839ff9e6362b6e039ffc5f9e
Diffstat (limited to 'vcl/unx/generic/printer')
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index 471649c6e155..201f5e7b6e3d 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -20,6 +20,7 @@ #include <stdlib.h> #include <stdio.h> +#include <boost/noncopyable.hpp> #include <boost/unordered_map.hpp> #include <comphelper/string.hxx> @@ -267,16 +268,12 @@ namespace struct thePPDCache : public rtl::Static<PPDCache, thePPDCache> {}; } -class PPDDecompressStream +class PPDDecompressStream: private boost::noncopyable { SvFileStream* mpFileStream; SvMemoryStream* mpMemStream; OUString maFileName; - // forbid copying - PPDDecompressStream( const PPDDecompressStream& ); - PPDDecompressStream& operator=(const PPDDecompressStream& ); - public: PPDDecompressStream( const OUString& rFile ); ~PPDDecompressStream(); |