[Libreoffice-commits] core.git: sc/inc
Dennis Francis (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 18 05:23:59 UTC 2019
sc/inc/interpretercontext.hxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 41d54e544781682f1e28f77c54cb16a71ecd6691
Author: Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Fri Oct 18 09:32:38 2019 +0530
Commit: Dennis Francis <dennis.francis at collabora.com>
CommitDate: Fri Oct 18 07:22:57 2019 +0200
cid#1454847 : introduce an explicit constructor...
for NFIndexAndFmtType that initializes all its members appropriately.
Change-Id: Iec675458bca169c79b3a27f775ccff5265cee22d
Reviewed-on: https://gerrit.libreoffice.org/81004
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis at collabora.com>
diff --git a/sc/inc/interpretercontext.hxx b/sc/inc/interpretercontext.hxx
index 4ed6b3c66c4a..35b91947405c 100644
--- a/sc/inc/interpretercontext.hxx
+++ b/sc/inc/interpretercontext.hxx
@@ -40,6 +40,13 @@ struct NFIndexAndFmtType
sal_uInt32 nIndex;
SvNumFormatType eType : 16;
bool bIsValid : 1;
+
+ NFIndexAndFmtType()
+ : nIndex(0)
+ , eType(static_cast<SvNumFormatType>(0))
+ , bIsValid(false)
+ {
+ }
};
class ScInterpreterContextPool;
More information about the Libreoffice-commits
mailing list