summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/sfxbasemodel.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-08 15:15:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-08 15:21:24 +0100
commit13a87348f018c93f05b64e10f0a7e1aaf6d58b17 (patch)
treeb03be624e7d8a5584eeabd27e408fdd7c9ee1d2d /sfx2/source/doc/sfxbasemodel.cxx
parentaf69de6344d94f4fe3f469d425fe8c0117ab33cd (diff)
cppcheck: noCopyConstructor
Change-Id: Ic81697b8b1d826bf421a3b52f9a00f34536af8c8
Diffstat (limited to 'sfx2/source/doc/sfxbasemodel.cxx')
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 5608e7b4dc60..3a691bec8b6a 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -445,6 +445,9 @@ class SfxSaveGuard
IMPL_SfxBaseModel_DataContainer* m_pData;
SfxOwnFramesLocker* m_pFramesLock;
+ SfxSaveGuard(SfxSaveGuard &) = delete;
+ void operator =(const SfxSaveGuard&) = delete;
+
public:
SfxSaveGuard(const Reference< frame::XModel >& xModel ,
IMPL_SfxBaseModel_DataContainer* pData);