summaryrefslogtreecommitdiff
path: root/basic/source/classes/sbintern.cxx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@libreoffice.org>2020-11-22 16:29:04 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-22 17:53:04 +0100
commit1fdd1e8f2e91e44762b2b8017125cc1ffb00d4af (patch)
tree48921c0572a8b0448779bdfb3a6b4481980a3780 /basic/source/classes/sbintern.cxx
parent9d96088c2832b681ae079b29cbc977231674ad52 (diff)
BASIC : use initialization list in constructors.
Change-Id: I651a16be0a80210504267a743b2c50474fb1cc50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106357 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/classes/sbintern.cxx')
-rw-r--r--basic/source/classes/sbintern.cxx25
1 files changed, 13 insertions, 12 deletions
diff --git a/basic/source/classes/sbintern.cxx b/basic/source/classes/sbintern.cxx
index c1366801d3be..fd72949d5466 100644
--- a/basic/source/classes/sbintern.cxx
+++ b/basic/source/classes/sbintern.cxx
@@ -31,19 +31,20 @@ SbiGlobals* GetSbData()
}
SbiGlobals::SbiGlobals()
+ : pInst(nullptr)
+ , pMod(nullptr)
+ , pCompMod(nullptr) // JSM
+ , nInst(0)
+ , nCode(ERRCODE_NONE)
+ , nLine(0)
+ , nCol1(0)
+ , nCol2(0)
+ , bCompilerError(false)
+ , bGlobalInitErr(false)
+ , bRunInit(false)
+ , bBlockCompilerError(false)
+ , pMSOMacroRuntimLib(nullptr)
{
- pInst = nullptr;
- pMod = nullptr;
- pCompMod = nullptr; // JSM
- nInst = 0;
- nCode = ERRCODE_NONE;
- nLine = 0;
- nCol1 = nCol2 = 0;
- bCompilerError = false;
- bGlobalInitErr = false;
- bRunInit = false;
- bBlockCompilerError = false;
- pMSOMacroRuntimLib = nullptr;
}
SbiGlobals::~SbiGlobals() = default;