diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-10 11:57:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-11 09:45:39 +0200 |
commit | 3b8283a87ca937ed0d6c39d5ef71099e070fbb0c (patch) | |
tree | a9b5736ef25223d740cb76b6843fba4a00225e32 /editeng | |
parent | convert various bits in editeng from String to OUString (diff) | |
download | core-3b8283a87ca937ed0d6c39d5ef71099e070fbb0c.tar.gz core-3b8283a87ca937ed0d6c39d5ef71099e070fbb0c.zip |
whack unused define REDUCEDSVXFONT
Change-Id: Id7be6b903a6acd526fa2cecd18347f40b9b4457d
Diffstat (limited to 'editeng')
-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 ); |