diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-04-04 16:01:06 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-04-04 16:01:37 +0200 |
commit | 843cb68d00146d8ef18a4fa6f8316808056fd823 (patch) | |
tree | edfe40d00e22be01f534b187fae24d9cdc0d778f /xmlscript | |
parent | 3e0d46249b92f3be3355364b68014ef6a4329391 (diff) |
xmlscript: fix -Werror=maybe-uninitialized
Change-Id: Ifcde2202fcb2cfa1dd226697910c1fbd219a3f83
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_export.cxx | 2 |
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) |