diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-03-01 00:28:28 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2014-03-01 00:33:28 +0900 |
commit | c4d3ea46ab62a2ba5d69ae79aa6828b5b7ae6cbe (patch) | |
tree | 7c17ba28bfb5f57c593357df42374883866e3757 /writerperfect/source | |
parent | 83f1151c706eb78e08d781245ccabdc68aa0ee83 (diff) |
Call it noncopyable
Change-Id: If2e14b333868bb10867e54cd28c83d0d2c6a5e43
Diffstat (limited to 'writerperfect/source')
-rw-r--r-- | writerperfect/source/common/WPXSvStream.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/writerperfect/source/common/WPXSvStream.cxx b/writerperfect/source/common/WPXSvStream.cxx index f20deb60299f..818830df9050 100644 --- a/writerperfect/source/common/WPXSvStream.cxx +++ b/writerperfect/source/common/WPXSvStream.cxx @@ -23,6 +23,7 @@ #include <limits> #include <vector> +#include <boost/noncopyable.hpp> #include <boost/scoped_ptr.hpp> #include <boost/unordered_map.hpp> @@ -36,12 +37,8 @@ namespace packages = com::sun::star::packages; namespace { -class PositionHolder +class PositionHolder : boost::noncopyable { - // disable copying - PositionHolder(const PositionHolder &); - PositionHolder &operator=(const PositionHolder &); - public: explicit PositionHolder(const Reference<XSeekable> &rxSeekable); ~PositionHolder(); |