[Libreoffice-commits] core.git: reportdesign/inc

Stephan Bergmann sbergman at redhat.com
Wed Jun 18 02:52:56 PDT 2014


 reportdesign/inc/RptObject.hxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 8e67a7796f598de2f11b694542bccb48343f0d9a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 18 11:52:09 2014 +0200

    Suppress implicit OObjectBase copy ctor
    
    (that would choke on incomplete OPropertyMediator type used in rtl::Reference)
    
    Change-Id: I61dec2847d9ff387dca247d2d554c8f8f3147379

diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx
index d9c8ea44..5fb046a 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;


More information about the Libreoffice-commits mailing list