diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-06-16 11:25:40 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-06-16 11:28:20 +0100 |
commit | b5c5ec048fa88886370d2e1455b2c23700aeac66 (patch) | |
tree | f38978affa3b2aadc2e08e58f81183d7fc398391 | |
parent | sidebar: disable listed but disabled toolpanel panes. (diff) | |
download | core-b5c5ec048fa88886370d2e1455b2c23700aeac66.tar.gz core-b5c5ec048fa88886370d2e1455b2c23700aeac66.zip |
fdo#64925 - fix crash on paste of Arabic text on windows.
Change-Id: I4c1c5416d6ce486f257f499c39e269d1f1619add
-rw-r--r-- | sw/source/core/text/pormulti.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx index 3443d692fc95..05bf26f281b2 100644 --- a/sw/source/core/text/pormulti.cxx +++ b/sw/source/core/text/pormulti.cxx @@ -1830,7 +1830,7 @@ sal_Bool SwTxtFormatter::BuildMultiPortion( SwTxtFormatInfo &rInf, const OUString* pOldTxt = &(rInf.GetTxt()); const SwTwips nOldPaintOfst = rInf.GetPaintOfst(); - XubString aMultiStr( rInf.GetTxt(), 0, nMultiLen + rInf.GetIdx() ); + OUString const aMultiStr( rInf.GetTxt().copy(0, nMultiLen + rInf.GetIdx()) ); rInf.SetTxt( aMultiStr ); SwTxtFormatInfo aInf( rInf, rMulti.GetRoot(), nActWidth ); // Do we allow break cuts? The FirstMulti-Flag is evaluated during |