summaryrefslogtreecommitdiff
path: root/toolkit
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 /toolkit
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 'toolkit')
-rw-r--r--toolkit/source/helper/property.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/helper/property.cxx b/toolkit/source/helper/property.cxx
index 09552b6fe4e5..1a5c0a6b1ed9 100644
--- a/toolkit/source/helper/property.cxx
+++ b/toolkit/source/helper/property.cxx
@@ -66,12 +66,12 @@ struct ImplPropertyInfo
ImplPropertyInfo( OUString const & theName, sal_uInt16 nId, const css::uno::Type& rType,
sal_Int16 nAttrs, bool bDepends = false )
- : aName( theName )
+ : aName(theName)
+ , nPropId(nId)
+ , aType(rType)
+ , nAttribs(nAttrs)
+ , bDependsOnOthers(bDepends)
{
- nPropId = nId;
- aType = rType;
- nAttribs = nAttrs;
- bDependsOnOthers = bDepends;
}
};