summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/grfpage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/grfpage.cxx')
-rw-r--r--cui/source/tabpages/grfpage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx
index 363c56af80c2..cd4bc8a97ba8 100644
--- a/cui/source/tabpages/grfpage.cxx
+++ b/cui/source/tabpages/grfpage.cxx
@@ -779,16 +779,16 @@ Size SvxCropExample::GetOptimalSize() const
VCL_BUILDER_FACTORY_CONSTRUCTOR(SvxCropExample, 0)
-void SvxCropExample::Paint(vcl::RenderContext& rRenderContext, const Rectangle&)
+void SvxCropExample::Paint(vcl::RenderContext& rRenderContext, const ::tools::Rectangle&)
{
Size aWinSize(rRenderContext.PixelToLogic(GetOutputSizePixel()));
rRenderContext.SetLineColor();
rRenderContext.SetFillColor(rRenderContext.GetSettings().GetStyleSettings().GetWindowColor());
rRenderContext.SetRasterOp(RasterOp::OverPaint);
- rRenderContext.DrawRect(Rectangle(Point(), aWinSize));
+ rRenderContext.DrawRect(::tools::Rectangle(Point(), aWinSize));
rRenderContext.SetLineColor(Color(COL_WHITE));
- Rectangle aRect(Point((aWinSize.Width() - aFrameSize.Width())/2,
+ ::tools::Rectangle aRect(Point((aWinSize.Width() - aFrameSize.Width())/2,
(aWinSize.Height() - aFrameSize.Height())/2),
aFrameSize);
aGrf.Draw(&rRenderContext, aRect.TopLeft(), aRect.GetSize());