-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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user