summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2018-07-28 21:21:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-29 08:52:51 +0200
commit01b4c5b27f38d606b05e7a9236ec151e8039972a (patch)
treecaa3df2686d23f7c2318b1d4a3f55b175653b743 /unotools
parentc97df0d704bfa5eebe573386445abfa4dcfd95b8 (diff)
cppcheck: useInitializationList in test to xmloff
Change-Id: I50545784c5412ab7767f401c6e40058a1d0bfab0 Reviewed-on: https://gerrit.libreoffice.org/58262 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/searchopt.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/unotools/source/config/searchopt.cxx b/unotools/source/config/searchopt.cxx
index 878f46d1a1db..0fc7c168a569 100644
--- a/unotools/source/config/searchopt.cxx
+++ b/unotools/source/config/searchopt.cxx
@@ -65,9 +65,10 @@ public:
};
SvtSearchOptions_Impl::SvtSearchOptions_Impl() :
- ConfigItem( "Office.Common/SearchOptions" )
+ ConfigItem( "Office.Common/SearchOptions" ),
+ nFlags(0x0003FFFF) // set all options values to 'true'
+
{
- nFlags = 0x0003FFFF; // set all options values to 'true'
Load();
SetModified( false );
}