Kaydet (Commit) c4d3ea46 authored tarafından Takeshi Abe's avatar Takeshi Abe

Call it noncopyable

Change-Id: If2e14b333868bb10867e54cd28c83d0d2c6a5e43
üst 83f1151c
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <limits> #include <limits>
#include <vector> #include <vector>
#include <boost/noncopyable.hpp>
#include <boost/scoped_ptr.hpp> #include <boost/scoped_ptr.hpp>
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
...@@ -36,12 +37,8 @@ namespace packages = com::sun::star::packages; ...@@ -36,12 +37,8 @@ namespace packages = com::sun::star::packages;
namespace namespace
{ {
class PositionHolder class PositionHolder : boost::noncopyable
{ {
// disable copying
PositionHolder(const PositionHolder &);
PositionHolder &operator=(const PositionHolder &);
public: public:
explicit PositionHolder(const Reference<XSeekable> &rxSeekable); explicit PositionHolder(const Reference<XSeekable> &rxSeekable);
~PositionHolder(); ~PositionHolder();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment