summaryrefslogtreecommitdiff
path: root/basic/source/basmgr/basmgr.cxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2018-09-02 14:52:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-03 08:34:25 +0200
commit89b47b5eb272f26ea829dcd0fc9cd6a98160fe76 (patch)
treecf7bba4fabce9a439449db6d78d27b1779c3fad0 /basic/source/basmgr/basmgr.cxx
parent9e28155909a5d3295e2a531731790a42fdb4c8a2 (diff)
cppcheck: useInitializationList in basic
Change-Id: I97fefc25076c2c163f6010745081772ee8c17712 Reviewed-on: https://gerrit.libreoffice.org/59908 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/basmgr/basmgr.cxx')
-rw-r--r--basic/source/basmgr/basmgr.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index e4841ce100e9..8318466c88f1 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -384,12 +384,11 @@ public:
BasicLibInfo::BasicLibInfo()
+ : aStorageName(szImbedded)
+ , aRelStorageName(szImbedded)
+ , bDoLoad(false)
+ , bReference(false)
{
- bReference = false;
- bDoLoad = false;
- mxScriptCont = nullptr;
- aStorageName = szImbedded;
- aRelStorageName = szImbedded;
}
BasicLibInfo* BasicLibInfo::Create( SotStorageStream& rSStream )