summaryrefslogtreecommitdiff
path: root/binaryurp/source/readerstate.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-15 20:54:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-16 12:54:45 +0000
commit01a8bda416d1598f5486f95b6a57d61ff09873ed (patch)
treec37934d13308426d22599f63bf8666305a6b1f80 /binaryurp/source/readerstate.hxx
parenta1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 (diff)
boost::noncopyable->'= delete'
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
Diffstat (limited to 'binaryurp/source/readerstate.hxx')
-rw-r--r--binaryurp/source/readerstate.hxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/binaryurp/source/readerstate.hxx b/binaryurp/source/readerstate.hxx
index 21ba8503c1d5..1ce1d5a4b783 100644
--- a/binaryurp/source/readerstate.hxx
+++ b/binaryurp/source/readerstate.hxx
@@ -22,7 +22,6 @@
#include "sal/config.h"
-#include "boost/noncopyable.hpp"
#include "rtl/byteseq.hxx"
#include "rtl/ustring.hxx"
#include "typelib/typedescription.hxx"
@@ -31,11 +30,15 @@
namespace binaryurp {
-struct ReaderState: private boost::noncopyable {
- com::sun::star::uno::TypeDescription typeCache[cache::size];
+struct ReaderState {
+private:
+ ReaderState(const ReaderState&) SAL_DELETED_FUNCTION;
+ ReaderState& operator=(const ReaderState&) SAL_DELETED_FUNCTION;
+public:
+ ReaderState() {}
+ com::sun::star::uno::TypeDescription typeCache[cache::size];
OUString oidCache[cache::size];
-
rtl::ByteSequence tidCache[cache::size];
};