diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-08 15:15:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-08 15:21:24 +0100 |
commit | 13a87348f018c93f05b64e10f0a7e1aaf6d58b17 (patch) | |
tree | b03be624e7d8a5584eeabd27e408fdd7c9ee1d2d /sfx2/source/doc/sfxbasemodel.cxx | |
parent | af69de6344d94f4fe3f469d425fe8c0117ab33cd (diff) |
cppcheck: noCopyConstructor
Change-Id: Ic81697b8b1d826bf421a3b52f9a00f34536af8c8
Diffstat (limited to 'sfx2/source/doc/sfxbasemodel.cxx')
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 3 |
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); |