From 3b8283a87ca937ed0d6c39d5ef71099e070fbb0c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 10 Sep 2013 11:57:22 +0200 Subject: whack unused define REDUCEDSVXFONT Change-Id: Id7be6b903a6acd526fa2cecd18347f40b9b4457d --- editeng/source/items/svxfont.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'editeng') 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 #include -#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 ); -- cgit