summaryrefslogtreecommitdiff
path: root/svx/source/dialog/svxbmpnumvalueset.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-04 15:29:16 +0200
committerNoel Grandin <noel@peralex.com>2013-09-05 08:55:12 +0200
commitef84ce9cec9fff75868433a862db8571440a10b4 (patch)
treecc1616889a3ea818654103be4b0d8f740df1edc9 /svx/source/dialog/svxbmpnumvalueset.cxx
parent55a15541a17e5c9b49039b0db31473ab81c2456b (diff)
convert svx/source/dialog/*.cxx from String to OUString
Change-Id: Icba1afdaf0d6ec16d2d09788ed3346160cb7564d
Diffstat (limited to 'svx/source/dialog/svxbmpnumvalueset.cxx')
-rw-r--r--svx/source/dialog/svxbmpnumvalueset.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx
index 7951fe31d96f..b620965eef9a 100644
--- a/svx/source/dialog/svxbmpnumvalueset.cxx
+++ b/svx/source/dialog/svxbmpnumvalueset.cxx
@@ -92,8 +92,7 @@ static const sal_Unicode aBulletTypes[] =
static Font& lcl_GetDefaultBulletFont()
{
static sal_Bool bInit = 0;
- static Font aDefBulletFont( OUString("StarSymbol"),
- String(), Size( 0, 14 ) );
+ static Font aDefBulletFont( "StarSymbol", "", Size( 0, 14 ) );
if(!bInit)
{
aDefBulletFont.SetCharSet( RTL_TEXTENCODING_SYMBOL );
@@ -218,10 +217,10 @@ void SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt )
{
sal_uInt16 nY = 11 + i * 33;
aStart.Y() = aBLPos.Y() + nRectHeight * nY / 100;
- String sText;
+ OUString sText;
if(nPageType == NUM_PAGETYPE_BULLET)
{
- sText = aBulletTypes[nItemId - 1];
+ sText = OUString( aBulletTypes[nItemId - 1] );
aStart.Y() -= pDev->GetTextHeight()/2;
aStart.X() = aBLPos.X() + 5;
}