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 /sw/source/core/frmedt | |
parent | 77c47fc79c1c8096c19a81a0d320e75b84857144 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I27c24d3284a8e0678fc5c041426b4a7e71cbd363
Diffstat (limited to 'sw/source/core/frmedt')
-rw-r--r-- | sw/source/core/frmedt/feshview.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/frmedt/tblsel.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx index fe38a2244993..ec5275813a2f 100644 --- a/sw/source/core/frmedt/feshview.cxx +++ b/sw/source/core/frmedt/feshview.cxx @@ -1243,7 +1243,7 @@ namespace class MarkableObjectsOnly : public svx::ISdrObjectFilter { public: - MarkableObjectsOnly( SdrPageView* i_pPV ) + explicit MarkableObjectsOnly( SdrPageView* i_pPV ) :m_pPV( i_pPV ) { } diff --git a/sw/source/core/frmedt/tblsel.cxx b/sw/source/core/frmedt/tblsel.cxx index 17f98776c158..a5d3e8a952ce 100644 --- a/sw/source/core/frmedt/tblsel.cxx +++ b/sw/source/core/frmedt/tblsel.cxx @@ -91,7 +91,7 @@ struct _Sort_CellFrm { const SwCellFrm* pFrm; - _Sort_CellFrm( const SwCellFrm& rCFrm ) + explicit _Sort_CellFrm( const SwCellFrm& rCFrm ) : pFrm( &rCFrm ) {} }; |