Call it noncopyable
Change-Id: If2e14b333868bb10867e54cd28c83d0d2c6a5e43
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user