-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>
This commit is contained in:
Stephan Bergmann
2022-09-14 19:35:34 +02:00
parent 3592c2e1af
commit f4f8f6ffd2
+1 -1
View File
@@ -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;