summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-03 21:01:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-04 12:00:58 +0100
commit3761cf7660e8329670722973c567235bffe40536 (patch)
tree28e8ea542723e5ca37e23f5f8c092da7f86c1028
parenta441d5fbe59436089e5f7b882a3482212c9ee208 (diff)
cppcheck: noExplicitConstructor
Change-Id: I1f5272cdf05b36d1c6958159a29c04ed7374592d
-rw-r--r--sw/source/core/doc/DocumentStatisticsManager.cxx2
-rw-r--r--sw/source/core/doc/swstylemanager.cxx2
-rw-r--r--sw/source/core/doc/tblafmt.cxx2
-rw-r--r--sw/source/core/doc/tblcpy.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/doc/DocumentStatisticsManager.cxx b/sw/source/core/doc/DocumentStatisticsManager.cxx
index 908abb4aaedd..8677456f9da2 100644
--- a/sw/source/core/doc/DocumentStatisticsManager.cxx
+++ b/sw/source/core/doc/DocumentStatisticsManager.cxx
@@ -44,7 +44,7 @@ namespace
std::vector<SwViewShell*> m_aViewWasUnLocked;
SwViewShell* m_pViewShell;
public:
- LockAllViews(SwViewShell *pViewShell)
+ explicit LockAllViews(SwViewShell *pViewShell)
: m_pViewShell(pViewShell)
{
if (!m_pViewShell)
diff --git a/sw/source/core/doc/swstylemanager.cxx b/sw/source/core/doc/swstylemanager.cxx
index af8e6d224d8e..11d3b3b63c93 100644
--- a/sw/source/core/doc/swstylemanager.cxx
+++ b/sw/source/core/doc/swstylemanager.cxx
@@ -64,7 +64,7 @@ class SwStyleManager : public IStyleAccess
public:
// accept empty item set for ignorable paragraph items.
- SwStyleManager( SfxItemSet* pIgnorableParagraphItems )
+ explicit SwStyleManager( SfxItemSet* pIgnorableParagraphItems )
: aAutoCharPool(),
aAutoParaPool( pIgnorableParagraphItems ),
mpCharCache(0),
diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx
index 66bc94016de5..f3a732c4a2c8 100644
--- a/sw/source/core/doc/tblafmt.cxx
+++ b/sw/source/core/doc/tblafmt.cxx
@@ -128,7 +128,7 @@ namespace
class WriterSpecificAutoFormatBlock : ::boost::noncopyable
{
public:
- WriterSpecificAutoFormatBlock(SvStream &rStream) : _rStream(rStream)
+ explicit WriterSpecificAutoFormatBlock(SvStream &rStream) : _rStream(rStream)
{
_whereToWriteEndOfBlock = BeginSwBlock(rStream);
}
diff --git a/sw/source/core/doc/tblcpy.cxx b/sw/source/core/doc/tblcpy.cxx
index d4b39c2beece..8dbd5725b8d7 100644
--- a/sw/source/core/doc/tblcpy.cxx
+++ b/sw/source/core/doc/tblcpy.cxx
@@ -91,7 +91,7 @@ namespace
sal_uLong &rnB, sal_uInt16 &rnC, ColumnStructure::iterator& rpCl,
BoxStructure::iterator& rpSel, bool &rbSel, bool bCover );
void incColSpan( sal_uInt16 nLine, sal_uInt16 nCol );
- TableStructure( const SwTable& rTable );
+ explicit TableStructure( const SwTable& rTable );
TableStructure( const SwTable& rTable, _FndBox &rFndBox,
const SwSelBoxes& rSelBoxes,
LineStructure::size_type nMinSize );