diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-11 17:00:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-12 08:32:59 +0100 |
commit | 9dd40c656feda2ccadb07d618a95b9ff63ab61ff (patch) | |
tree | 84b5e0e3bd48909413c074d52c4bc08a46cfabce /vcl/source/control/group.cxx | |
parent | 3e9ae4da947cd9c3f75b6e4942f2ba52337df075 (diff) |
XubString->OUString
Change-Id: I04c7da143425a9d8cc4fae155ad45a469df953c1
Diffstat (limited to 'vcl/source/control/group.cxx')
-rw-r--r-- | vcl/source/control/group.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/control/group.cxx b/vcl/source/control/group.cxx index 5b345d6b8bdf..0e97fecc58e4 100644 --- a/vcl/source/control/group.cxx +++ b/vcl/source/control/group.cxx @@ -127,7 +127,7 @@ void GroupBox::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, long nTop; long nTextOff; const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings(); - XubString aText( GetText() ); + OUString aText( GetText() ); Rectangle aRect( rPos, rSize ); sal_uInt16 nTextStyle = TEXT_DRAW_LEFT | TEXT_DRAW_TOP | TEXT_DRAW_ENDELLIPSIS | TEXT_DRAW_MNEMONIC; @@ -153,7 +153,7 @@ void GroupBox::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, nDrawFlags |= WINDOW_DRAW_MONO; } - if ( !aText.Len() ) + if (aText.isEmpty()) { nTop = rPos.Y(); nTextOff = 0; @@ -175,7 +175,7 @@ void GroupBox::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, else pDev->SetLineColor( rStyleSettings.GetShadowColor() ); - if ( !aText.Len() ) + if (aText.isEmpty()) pDev->DrawLine( Point( rPos.X(), nTop ), Point( rPos.X()+rSize.Width()-2, nTop ) ); else { @@ -193,7 +193,7 @@ void GroupBox::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags, if ( !bIsPrinter && !(nDrawFlags & WINDOW_DRAW_MONO) ) { pDev->SetLineColor( rStyleSettings.GetLightColor() ); - if ( !aText.Len() ) + if (aText.isEmpty()) pDev->DrawLine( Point( rPos.X()+1, nTop+1 ), Point( rPos.X()+rSize.Width()-3, nTop+1 ) ); else { |