summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaisal M. Al-Otaibi <fmalotaibi@kacst.edu.sa>2013-11-13 22:23:05 +0300
committerFaisal M. Al-Otaibi <fmalotaibi@kacst.edu.sa>2013-11-13 22:34:23 +0300
commit3f9e7e72c53ecbe8ee1ab060f811cb41eadfc7e1 (patch)
tree5795297c54fc8aacf7234a53d27298ecfe3dcb15
parente51ae1c2c69597d751cf184f69192cdcb57ebf48 (diff)
DOCX: fdo#43093 set alignment if not already set
Change-Id: I34d2c6c1fc9338cea025ac510621d370f23805a2
-rw-r--r--writerfilter/source/dmapper/StyleSheetTable.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index 2a672f71b35c..329cc639dff8 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -1062,6 +1062,8 @@ void StyleSheetTable::ApplyStyleSheets( FontTablePtr rFontTable )
// Left-to-right direction if not already set
pEntry->pProperties->Insert(PROP_WRITING_MODE, uno::makeAny( sal_Int16(text::WritingMode_LR_TB) ), false);
+ // Left aligment if not already set
+ pEntry->pProperties->Insert(PROP_PARA_ADJUST, uno::makeAny( sal_Int16(style::ParagraphAdjust_LEFT) ), false);
}
uno::Sequence< beans::PropertyValue > aPropValues = pEntry->pProperties->GetPropertyValues();