diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-09-14 16:15:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-09-14 19:35:34 +0200 |
commit | f4f8f6ffd2f9c49e22a73dd15e9075617263f18e (patch) | |
tree | 6ac228cace5f585ecaa43c57e32fb49b15a2ec99 /xmloff | |
parent | 3592c2e1af98b3fad00c43a4e886c29f3a4bb934 (diff) |
-Werror=maybe-uninitialized
Change-Id: I7f38dee2356e154493b708424362f535f3164edf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139942
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index a9f0291a53b8..14297f25a424 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -4960,7 +4960,7 @@ static void ImpExportEnhancedGeometry( SvXMLExport& rExport, const uno::Referenc { if (xPropSetInfo->hasPropertyByName(u"WritingMode")) { - sal_Int16 nDirection; + sal_Int16 nDirection = -1; xPropSet->getPropertyValue(u"WritingMode") >>= nDirection; if (nDirection == text::WritingMode2::TB_RL90) fTextRotateAngle -= 90; |