diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 13:16:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 14:24:11 +0100 |
commit | 089620728299ab1688edaf066e9f9790d67449aa (patch) | |
tree | ad6f09018d00118fd046ea154d3217369a3c7af4 /sw/source/core/docnode | |
parent | 7a31ae209304730e06e1f33333ebc81e7c7b5de9 (diff) |
cppcheck: noCopyConstructor
Change-Id: Id5323cb6f52666f85965e11b07e4f2bca8af4e78
Diffstat (limited to 'sw/source/core/docnode')
-rw-r--r-- | sw/source/core/docnode/node2lay.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/docnode/node2lay.cxx b/sw/source/core/docnode/node2lay.cxx index ae1a3fcb47a7..18c01ee16ed0 100644 --- a/sw/source/core/docnode/node2lay.cxx +++ b/sw/source/core/docnode/node2lay.cxx @@ -42,6 +42,10 @@ class SwNode2LayImpl sal_uLong nIndex; // The Index of the to-be-inserted Nodes bool bMaster : 1; // true => only Master, false => only Frames without Follow bool bInit : 1; // Did we already call First() at SwClient? + + SwNode2LayImpl(const SwNode2LayImpl&) = delete; + SwNode2LayImpl& operator=(const SwNode2LayImpl&) = delete; + public: SwNode2LayImpl( const SwNode& rNode, sal_uLong nIdx, bool bSearch ); ~SwNode2LayImpl() { delete pIter; delete pUpperFrames; } |