diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-27 10:53:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-27 13:54:54 +0100 |
commit | afe5672fbc87ae2bc7fb72fac4bb5b837b646dea (patch) | |
tree | 1e78a6dcce4c7313ab4d9109b53077e687909606 /svx/source/table/tablertfimporter.cxx | |
parent | 77c47fc79c1c8096c19a81a0d320e75b84857144 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I27c24d3284a8e0678fc5c041426b4a7e71cbd363
Diffstat (limited to 'svx/source/table/tablertfimporter.cxx')
-rw-r--r-- | svx/source/table/tablertfimporter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/table/tablertfimporter.cxx b/svx/source/table/tablertfimporter.cxx index e0c83401f254..6f5655f26583 100644 --- a/svx/source/table/tablertfimporter.cxx +++ b/svx/source/table/tablertfimporter.cxx @@ -55,7 +55,7 @@ struct RTFCellDefault sal_uInt16 mnTwips; // right border of the cell sal_Int32 mnColSpan; // MergeCell if >1, merged cells if 0 - RTFCellDefault( SfxItemPool* pPool ) : maItemSet( *pPool ), mnCol(0), mnTwips(0 ), mnColSpan(1) {} + explicit RTFCellDefault( SfxItemPool* pPool ) : maItemSet( *pPool ), mnCol(0), mnTwips(0 ), mnColSpan(1) {} }; typedef std::vector< boost::shared_ptr< RTFCellDefault > > RTFCellDefaultVector; @@ -67,7 +67,7 @@ struct RTFCellInfo sal_Int32 mnParaCount; sal_Int32 mnColSpan; - RTFCellInfo( SfxItemPool& rPool ) : maItemSet( rPool ), mnStartPara(0), mnParaCount(0), mnColSpan(0) {} + explicit RTFCellInfo( SfxItemPool& rPool ) : maItemSet( rPool ), mnStartPara(0), mnParaCount(0), mnColSpan(0) {} }; typedef boost::shared_ptr< RTFCellInfo > RTFCellInfoPtr; @@ -80,7 +80,7 @@ typedef std::vector< RTFColumnVectorPtr > RTFRowVector; class SdrTableRTFParser { public: - SdrTableRTFParser( SdrTableObj& rTableObj ); + explicit SdrTableRTFParser( SdrTableObj& rTableObj ); ~SdrTableRTFParser(); void Read( SvStream& rStream ); |