summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/optload.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/config/optload.cxx')
-rw-r--r--sw/source/ui/config/optload.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 25431a1111cc..caa0b5a51f1b 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -423,11 +423,11 @@ Size SwCaptionPreview::GetOptimalSize() const
return LogicToPixel(Size(106 , 20), MapMode(MapUnit::MapAppFont));
}
-void SwCaptionPreview::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
+void SwCaptionPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect)
{
Window::Paint(rRenderContext, rRect);
- rRenderContext.DrawRect(Rectangle(Point(0, 0), GetSizePixel()));
+ rRenderContext.DrawRect(tools::Rectangle(Point(0, 0), GetSizePixel()));
rRenderContext.DrawText(Point(4, 6), maText);
}