sw/source/ui/shells/textsh1.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit bb920862c02047471f0ac5e78358e8d8fd9b93e7 Author: navin patidar <pati...@kacst.edu.sa> Date: Mon Apr 1 10:06:12 2013 +0300 fix fdo#40496: don't reset RES_PARATR_ADJUST & RES_FRAMEDIR attributes. Change-Id: I69298632d56decbce3eb7058b982d845cb3e7240 Reviewed-on: https://gerrit.libreoffice.org/3146 Reviewed-by: Bosdonnat Cedric <cedric.bosdon...@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdon...@free.fr> diff --git a/sw/source/ui/shells/textsh1.cxx b/sw/source/ui/shells/textsh1.cxx index 01cb635..395c7d8 100644 --- a/sw/source/ui/shells/textsh1.cxx +++ b/sw/source/ui/shells/textsh1.cxx @@ -499,7 +499,9 @@ void SwTextShell::Execute(SfxRequest &rReq) aAttribs.insert( aAttribs.end(), nE++ ); pUShorts += 2; } - + // we don't want to change writing direction and text alignment. + aAttribs.erase( RES_FRAMEDIR ); + aAttribs.erase( RES_PARATR_ADJUST ); rWrtSh.ResetAttr( aAttribs ); rReq.Done(); break; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits