From 0f71828a9582f241dcddac5fe9a11fdf3a1a4e1c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 8 Jun 2015 09:29:35 +0100 Subject: cppcheck: noExplicitConstructor Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf --- svl/source/items/style.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svl/source/items/style.cxx') 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 -- cgit