[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Tue Jan 13 00:28:18 PST 2015


 sw/source/core/inc/flyfrms.hxx |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

New commits:
commit b6013382694b7c9784c404a101d6d505919e067d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 13 09:26:48 2015 +0100

    SwFlyLayFrm shall apparently be noncopyable
    
    Change-Id: I78e1f23c3c39cafb6e3c1c085db880bc1cd88196

diff --git a/sw/source/core/inc/flyfrms.hxx b/sw/source/core/inc/flyfrms.hxx
index ef01125..82b1b96 100644
--- a/sw/source/core/inc/flyfrms.hxx
+++ b/sw/source/core/inc/flyfrms.hxx
@@ -19,6 +19,10 @@
 #ifndef INCLUDED_SW_SOURCE_CORE_INC_FLYFRMS_HXX
 #define INCLUDED_SW_SOURCE_CORE_INC_FLYFRMS_HXX
 
+#include <sal/config.h>
+
+#include <boost/noncopyable.hpp>
+
 #include "flyfrm.hxx"
 
 // #i28701#
@@ -119,14 +123,14 @@ public:
 };
 
 // Flys that are bound to LayoutFrms and not to Cntnt
-class SwFlyLayFrm : public SwFlyFreeFrm
+class SwFlyLayFrm : public SwFlyFreeFrm, private boost::noncopyable
 {
 public:
     // #i28701#
     TYPEINFO_OVERRIDE();
 
     SwFlyLayFrm( SwFlyFrmFmt*, SwFrm*, SwFrm *pAnchor );
-    SwFlyLayFrm( SwFlyLayFrm& );
+
 protected:
     virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ) SAL_OVERRIDE;
 };


More information about the Libreoffice-commits mailing list