diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-18 20:56:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-18 21:23:15 +0100 |
commit | e08b49fa663ea50c4e712618bc1059249b7d35ba (patch) | |
tree | a70acf085a626958e5f8f5f1dc2795e4366464b8 /sw | |
parent | 476bef70f1d9fd58b29a1f6fb95e54567b031acf (diff) |
cppcheck: noExplicitConstructor
Change-Id: I187273e39759b3a3ef45b047f8cc36829a7f0b10
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/frame.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index e6c245ee4d1c..5acb1f086394 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -1161,7 +1161,7 @@ public: //Flag pFrm for SwFrmDeleteGuard lifetime that we shouldn't delete //it in e.g. SwSectionFrm::MergeNext etc because we will need it //again after the SwFrmDeleteGuard dtor - SwFrmDeleteGuard(SwFrm* pFrm) + explicit SwFrmDeleteGuard(SwFrm* pFrm) : m_pFrm(pFrm) { m_bOldDeleteAllowed = m_pFrm && !m_pFrm->IsDeleteForbidden(); |