summaryrefslogtreecommitdiff
path: root/sd/source/ui/presenter/PresenterCanvas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/presenter/PresenterCanvas.cxx')
-rw-r--r--sd/source/ui/presenter/PresenterCanvas.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/presenter/PresenterCanvas.cxx b/sd/source/ui/presenter/PresenterCanvas.cxx
index a17ee1f6a38b..e9905cae8db5 100644
--- a/sd/source/ui/presenter/PresenterCanvas.cxx
+++ b/sd/source/ui/presenter/PresenterCanvas.cxx
@@ -574,7 +574,7 @@ awt::Point PresenterCanvas::GetOffset (const Reference<awt::XWindow>& rxBaseWind
VclPtr<vcl::Window> pSharedWindow = VCLUnoHelper::GetWindow(rxBaseWindow);
if (pWindow && pSharedWindow)
{
- Rectangle aBox = pWindow->GetWindowExtentsRelative(pSharedWindow);
+ ::tools::Rectangle aBox = pWindow->GetWindowExtentsRelative(pSharedWindow);
// Calculate offset of this canvas with respect to the shared
// canvas.
@@ -599,7 +599,7 @@ awt::Point PresenterCanvas::GetOffset (const Reference<awt::XWindow>& rxBaseWind
// Get the bounding box of the window and create a range in the
// coordinate system of the child window.
- Rectangle aLocalClip;
+ ::tools::Rectangle aLocalClip;
if (maClipRectangle.Width <= 0 || maClipRectangle.Height <= 0)
{
// No clip rectangle has been set via SetClip by the pane.
@@ -609,7 +609,7 @@ awt::Point PresenterCanvas::GetOffset (const Reference<awt::XWindow>& rxBaseWind
else
{
// Use a previously given clip rectangle.
- aLocalClip = Rectangle(
+ aLocalClip = ::tools::Rectangle(
maClipRectangle.X + rOffset.X,
maClipRectangle.Y + rOffset.Y,
maClipRectangle.X + maClipRectangle.Width + rOffset.X,