diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-21 11:53:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-21 11:54:27 +0000 |
commit | 2de8d6208b3d1b95a44c8794615eb8da2b3e7286 (patch) | |
tree | a053d36fb7c68a284bd88b9d812555044d96567e | |
parent | 63b3301d78f10672d1ce11e144015d60707bfb87 (diff) |
fix text layout regression
-rwxr-xr-x | vcl/source/gdi/outdev3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index bcd51a2436c8..e68822fab6f2 100755 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -5991,13 +5991,13 @@ SalLayout* OutputDevice::ImplLayout( const String& rOrigStr, nLen = static_cast<xub_StrLen>(nNewLen); } - String aStr; + String aStr = rOrigStr; // filter out special markers if( bFilter ) { xub_StrLen nCutStart, nCutStop, nOrgLen = nLen; - rtl::OUString aTmpStr(rOrigStr); + rtl::OUString aTmpStr(aStr); bool bFiltered = mpGraphics->filterText( rOrigStr, aTmpStr, nMinIndex, nLen, nCutStart, nCutStop ); aStr = aTmpStr; if( !nLen ) |