summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--writerperfect/source/common/WPXSvStream.cxx7
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();