diff options
-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; |