diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-08 09:29:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-08 11:14:38 +0100 |
commit | 0f71828a9582f241dcddac5fe9a11fdf3a1a4e1c (patch) | |
tree | 75cb6a18fd360d7b2e53f4048a56b2e79e8499c8 /svl/source/items/style.cxx | |
parent | f6e5a0ac09eb1b02caf62980e4caaf3f239b9ca7 (diff) |
cppcheck: noExplicitConstructor
Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf
Diffstat (limited to 'svl/source/items/style.cxx')
-rw-r--r-- | svl/source/items/style.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index bbbd45ede5e2..a9a9ce3ce7c5 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -385,7 +385,7 @@ namespace { struct DoesStyleMatchStyleSheetPredicate SAL_FINAL : public svl::StyleSheetPredicate { - DoesStyleMatchStyleSheetPredicate(SfxStyleSheetIterator *it) + explicit DoesStyleMatchStyleSheetPredicate(SfxStyleSheetIterator *it) : mIterator(it) {;} bool @@ -717,7 +717,7 @@ SfxStyleSheetBasePool& SfxStyleSheetBasePool::operator=( const SfxStyleSheetBase namespace { struct AddStyleSheetCallback : svl::StyleSheetCallback { - AddStyleSheetCallback(SfxStyleSheetBasePool *pool) + explicit AddStyleSheetCallback(SfxStyleSheetBasePool *pool) : mPool(pool) {;} void DoIt(const SfxStyleSheetBase& ssheet) SAL_OVERRIDE @@ -820,7 +820,7 @@ namespace struct StyleSheetDisposerFunctor SAL_FINAL : public svl::StyleSheetDisposer { - StyleSheetDisposerFunctor(SfxStyleSheetBasePool* pool) + explicit StyleSheetDisposerFunctor(SfxStyleSheetBasePool* pool) : mPool(pool) {;} void |