diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-05 21:44:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-05 22:41:56 +0000 |
commit | d6aa26c8a20e6634b0cc6e1dac6f09d3f2824919 (patch) | |
tree | 667ce1b5dac8a851906d40b02493aac9eb51c33e /editeng | |
parent | 9999eab5fe5e92118574468905cae0e3c8982c7f (diff) |
tweak this a little
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index c964aeb4a062..757db0c7b6a6 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -3291,7 +3291,8 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, Rectangle aClipRec, Point aSta aTmpFont.SetEscapement( 0 ); aTmpFont.SetPropr( 100 ); aTmpFont.SetPhysFont( pOutDev ); - rtl::OUStringBuffer aBlanks = comphelper::string::padToLength( aBlanks, (sal_Int32) nTextLen, ' ' ); + rtl::OUStringBuffer aBlanks; + comphelper::string::padToLength( aBlanks, (sal_Int32) nTextLen, ' ' ); Point aUnderlinePos( aOutPos ); if ( nOrientation ) aUnderlinePos = lcl_ImplCalcRotatedPos( aTmpPos, aOrigin, nSin, nCos ); |