diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-04 11:16:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-04 11:16:06 +0100 |
commit | 6b2d75f966140746e4fed4c0dd43a452e0cfdbae (patch) | |
tree | 0a962ec811c886a79e6542af813e074810274038 /sfx2 | |
parent | 03d3506286eca8140e17b8473b9f33fa02da4f0c (diff) |
cppcheck: noExplicitConstructor
Change-Id: I68310e2abc8f0ca114adb2b52f82157a0f455202
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/ipclient.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 807b5c98ac68..cd3f783fc9dd 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -73,9 +73,9 @@ class SfxBooleanFlagGuard bool& m_rFlag; bool m_bLifeValue; public: - SfxBooleanFlagGuard( bool& bFlag ) - : m_rFlag( bFlag ) - , m_bLifeValue( true ) + explicit SfxBooleanFlagGuard(bool& bFlag) + : m_rFlag( bFlag ) + , m_bLifeValue( true ) { m_rFlag = m_bLifeValue; } |