diff options
-rw-r--r-- | editeng/source/items/svxfont.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index c2b6507e3b73..6d6fed5b69b6 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -28,10 +28,7 @@ #include <editeng/svxfont.hxx> #include <editeng/escapementitem.hxx> -#ifndef REDUCEDSVXFONT - const sal_Unicode CH_BLANK = sal_Unicode(' '); // ' ' Space character - static sal_Char const sDoubleSpace[] = " "; -#endif +const sal_Unicode CH_BLANK = sal_Unicode(' '); // ' ' Space character SvxFont::SvxFont() @@ -685,7 +682,7 @@ void SvxDoDrawCapital::DoSpace( const sal_Bool bDraw ) pFont->SetWordLineMode( sal_False ); pFont->SetTransparent( sal_True ); pFont->SetPhysFont( pOut ); - pOut->DrawStretchText( aSpacePos, nDiff, XubString( sDoubleSpace, + pOut->DrawStretchText( aSpacePos, nDiff, XubString( " ", RTL_TEXTENCODING_MS_1252 ), 0, 2 ); pFont->SetWordLineMode( bWordWise ); pFont->SetTransparent( bTrans ); |