Kaydet (Commit) bb920862 authored tarafından navin patidar's avatar navin patidar Kaydeden (comit) Bosdonnat Cedric

fix fdo#40496: don't reset RES_PARATR_ADJUST & RES_FRAMEDIR attributes.

Change-Id: I69298632d56decbce3eb7058b982d845cb3e7240
Reviewed-on: https://gerrit.libreoffice.org/3146Reviewed-by: 's avatarBosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: 's avatarBosdonnat Cedric <cedric.bosdonnat@free.fr>
üst 3064d221
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment