sw/source/filter/ww8/docxattributeoutput.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit e9e1d7fc4de8fc44adf35fe302c75591b3c5bc18 Author: Adam Co <rattles2...@gmail.com> Date: Mon May 13 13:58:13 2013 +0300 fdo#64531 : Tab-stops exported to DOCX added too much indentation Change-Id: I12747006c8aac663f9529b495914f4a08301c66f Reviewed-on: https://gerrit.libreoffice.org/3884 Reviewed-by: Bosdonnat Cedric <cedric.bosdon...@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdon...@free.fr> diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 6130b7d..9666f76 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -4163,7 +4163,9 @@ static void impl_WriteTabElement( FSHelperPtr pSerializer, break; } - pTabElementAttrList->add( FSNS( XML_w, XML_pos ), OString::valueOf( rTab.GetTabPos() + nCurrentLeft ) ); + // Because GetTabPos already includes indent, we don't need to add nCurrentLeft (CurrentLeft is indentation information) + //pTabElementAttrList->add( FSNS( XML_w, XML_pos ), OString::valueOf( rTab.GetTabPos() + nCurrentLeft ) ); + pTabElementAttrList->add( FSNS( XML_w, XML_pos ), OString::valueOf( rTab.GetTabPos() ) ); sal_Unicode cFillChar = rTab.GetFill(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits