summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/layouter.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-27 10:53:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-27 13:54:54 +0100
commitafe5672fbc87ae2bc7fb72fac4bb5b837b646dea (patch)
tree1e78a6dcce4c7313ab4d9109b53077e687909606 /sw/source/core/layout/layouter.cxx
parent77c47fc79c1c8096c19a81a0d320e75b84857144 (diff)
cppcheck: noExplicitConstructor
Change-Id: I27c24d3284a8e0678fc5c041426b4a7e71cbd363
Diffstat (limited to 'sw/source/core/layout/layouter.cxx')
-rw-r--r--sw/source/core/layout/layouter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/layouter.cxx b/sw/source/core/layout/layouter.cxx
index 54f95feba332..b710bf8b7ad8 100644
--- a/sw/source/core/layout/layouter.cxx
+++ b/sw/source/core/layout/layouter.cxx
@@ -37,7 +37,7 @@ class SwLooping
sal_uInt16 nCount;
sal_uInt16 mnLoopControlStage;
public:
- SwLooping( SwPageFrm* pPage );
+ explicit SwLooping( SwPageFrm* pPage );
void Control( SwPageFrm* pPage );
void Drastic( SwFrm* pFrm );
bool IsLoopingLouieLight() const { return nCount > LOOP_DETECT - 30; };
@@ -49,7 +49,7 @@ class SwEndnoter
SwSectionFrm* pSect;
SwFootnoteFrms* pEndArr;
public:
- SwEndnoter( SwLayouter* pLay )
+ explicit SwEndnoter( SwLayouter* pLay )
: pMaster( pLay ), pSect( NULL ), pEndArr( NULL ) {}
~SwEndnoter() { delete pEndArr; }
void CollectEndnotes( SwSectionFrm* pSct );