summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-03 09:35:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-03 20:59:48 +0100
commit2b03336d18bf2137a318c959617a2beb4f68e02c (patch)
treed9fae7cf3e09ccae38f5a8ffc862a7bbcc18dd11 /sw
parentd8108c9880fdbb56c3cf288813f7e8216091297f (diff)
cppcheck: noExplicitConstructor
Change-Id: I38ba88252e2fcadb1a9b36fd0ee1db7d61959bbb
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/crbm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/crbm.cxx b/sw/source/core/crsr/crbm.cxx
index b75dbe1c121b..0fa19ecea2b0 100644
--- a/sw/source/core/crsr/crbm.cxx
+++ b/sw/source/core/crsr/crbm.cxx
@@ -32,7 +32,7 @@ namespace
{
struct CrsrStateHelper
{
- CrsrStateHelper(SwCrsrShell& rShell)
+ explicit CrsrStateHelper(SwCrsrShell& rShell)
: m_aLink(rShell)
, m_pCrsr(rShell.GetSwCrsr())
, m_aSaveState(*m_pCrsr)