summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-18 11:52:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-18 11:52:30 +0200
commit8e67a7796f598de2f11b694542bccb48343f0d9a (patch)
treefcaf63b2b80217c50d6d3877d912bc85db35d007
parent65b5d1a3f045faca462e7370a315cc729105df86 (diff)
Suppress implicit OObjectBase copy ctor
(that would choke on incomplete OPropertyMediator type used in rtl::Reference) Change-Id: I61dec2847d9ff387dca247d2d554c8f8f3147379
-rw-r--r--reportdesign/inc/RptObject.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx
index d9c8ea449c98..5fb046ad6bae 100644
--- a/reportdesign/inc/RptObject.hxx
+++ b/reportdesign/inc/RptObject.hxx
@@ -20,6 +20,8 @@
#define INCLUDED_REPORTDESIGN_INC_RPTOBJECT_HXX
#include "dllapi.h"
+
+#include <boost/noncopyable.hpp>
#include <svx/svdoole2.hxx>
#include <svx/svdouno.hxx>
@@ -67,7 +69,7 @@ typedef ::std::multimap< sal_Int16, OUString, ::std::less< sal_Int16 > > IndexTo
class OReportPage;
class OPropertyMediator;
-class REPORTDESIGN_DLLPUBLIC OObjectBase
+class REPORTDESIGN_DLLPUBLIC OObjectBase: private boost::noncopyable
{
public:
typedef rtl::Reference<OPropertyMediator> TMediator;