summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/flyfrms.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-13 09:26:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-13 09:27:42 +0100
commitb6013382694b7c9784c404a101d6d505919e067d (patch)
tree211cb2e8db4a57c60da51ed61ca681f519cbfdd7 /sw/source/core/inc/flyfrms.hxx
parent840810d41e7f865752d1af09c9d99e955467ce6c (diff)
SwFlyLayFrm shall apparently be noncopyable
Change-Id: I78e1f23c3c39cafb6e3c1c085db880bc1cd88196
Diffstat (limited to 'sw/source/core/inc/flyfrms.hxx')
-rw-r--r--sw/source/core/inc/flyfrms.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/core/inc/flyfrms.hxx b/sw/source/core/inc/flyfrms.hxx
index ef011259007c..82b1b96eab7a 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;
};