summaryrefslogtreecommitdiff
path: root/svx/source/dialog/rubydialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/rubydialog.cxx')
-rw-r--r--svx/source/dialog/rubydialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index 489572f644a8..2b74ef1251f7 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -778,7 +778,7 @@ void RubyPreview::dispose()
VCL_BUILDER_FACTORY(RubyPreview)
-void RubyPreview::Paint(vcl::RenderContext& rRenderContext, const Rectangle& /*rRect*/)
+void RubyPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& /*rRect*/)
{
rRenderContext.Push(PushFlags::MAPMODE);
@@ -790,7 +790,7 @@ void RubyPreview::Paint(vcl::RenderContext& rRenderContext, const Rectangle& /*r
aSaveFont.SetFontHeight(aWinSize.Height() / 4);
rRenderContext.SetFont(aSaveFont);
- Rectangle aRect(Point(0, 0), aWinSize);
+ tools::Rectangle aRect(Point(0, 0), aWinSize);
rRenderContext.SetLineColor();
rRenderContext.SetFillColor(aSaveFont.GetFillColor());
rRenderContext.DrawRect(aRect);