summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-04-04 16:01:06 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-04-04 16:01:37 +0200
commit843cb68d00146d8ef18a4fa6f8316808056fd823 (patch)
treeedfe40d00e22be01f534b187fae24d9cdc0d778f /xmlscript
parent3e0d46249b92f3be3355364b68014ef6a4329391 (diff)
xmlscript: fix -Werror=maybe-uninitialized
Change-Id: Ifcde2202fcb2cfa1dd226697910c1fbd219a3f83
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_export.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
index 0e3bc40c3b0b..742509a14957 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
@@ -1021,7 +1021,7 @@ void ElementDescriptor::readImageScaleModeAttr( OUString const & rPropName, OUSt
if (aImageScaleMode.getValueTypeClass() == TypeClass_SHORT)
{
- sal_Int16 nImageScaleMode;
+ sal_Int16 nImageScaleMode = 0;
aImageScaleMode >>= nImageScaleMode;
switch(nImageScaleMode)