[Libreoffice-commits] core.git: writerfilter/source
Faisal M. Al-Otaibi
fmalotaibi at kacst.edu.sa
Wed Nov 13 11:35:35 PST 2013
writerfilter/source/dmapper/StyleSheetTable.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 3f9e7e72c53ecbe8ee1ab060f811cb41eadfc7e1
Author: Faisal M. Al-Otaibi <fmalotaibi at kacst.edu.sa>
Date: Wed Nov 13 22:23:05 2013 +0300
DOCX: fdo#43093 set alignment if not already set
Change-Id: I34d2c6c1fc9338cea025ac510621d370f23805a2
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index 2a672f7..329cc63 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();
More information about the Libreoffice-commits
mailing list