From c4d3ea46ab62a2ba5d69ae79aa6828b5b7ae6cbe Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Sat, 1 Mar 2014 00:28:28 +0900 Subject: Call it noncopyable Change-Id: If2e14b333868bb10867e54cd28c83d0d2c6a5e43 --- writerperfect/source/common/WPXSvStream.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'writerperfect') 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 #include +#include #include #include @@ -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 &rxSeekable); ~PositionHolder(); -- cgit