summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/tools/ValueSetWithTextControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sidebar/tools/ValueSetWithTextControl.cxx')
-rw-r--r--svx/source/sidebar/tools/ValueSetWithTextControl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx
index 7f1834173f93..1f8fe0d9569a 100644
--- a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx
+++ b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx
@@ -53,7 +53,7 @@ void ValueSetWithTextControl::AddItem(
void ValueSetWithTextControl::UserDraw( const UserDrawEvent& rUDEvt )
{
- const Rectangle aRect = rUDEvt.GetRect();
+ const tools::Rectangle aRect = rUDEvt.GetRect();
vcl::RenderContext* pDev = rUDEvt.GetRenderContext();
pDev->Push();
const sal_uInt16 nItemId = rUDEvt.GetItemId();
@@ -71,7 +71,7 @@ void ValueSetWithTextControl::UserDraw( const UserDrawEvent& rUDEvt )
//draw background
if ( GetSelectItemId() == nItemId )
{
- Rectangle aBackRect = aRect;
+ tools::Rectangle aBackRect = aRect;
aBackRect.Top() += 3;
aBackRect.Bottom() -= 2;
pDev->SetFillColor( sfx2::sidebar::Theme::GetColor( sfx2::sidebar::Theme::Color_Highlight ) );
@@ -92,7 +92,7 @@ void ValueSetWithTextControl::UserDraw( const UserDrawEvent& rUDEvt )
aFont.SetColor( GetSettings().GetStyleSettings().GetFieldTextColor() );
}
- Rectangle aStrRect = aRect;
+ tools::Rectangle aStrRect = aRect;
aStrRect.Top() += nRectHeight/4;
aStrRect.Bottom() -= nRectHeight/4;