diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-31 22:11:01 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-31 22:11:01 +0200 |
commit | 2e44b79233591a2b5f2f927b233f09b43c005e7a (patch) | |
tree | 4e4702ff8b064aec3b4a59918ca0edcdda4b41de /svx | |
parent | 325d211aae0ef54c8e0b90ca594c4af336818259 (diff) |
svx: fix missing namespace
Change-Id: Ibfd783f42b376952442e017537276a00f4dafc8e
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/sdrpagewindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/sdrpagewindow.cxx b/svx/source/svdraw/sdrpagewindow.cxx index 729c65ea997e..b88a1c48ffa8 100644 --- a/svx/source/svdraw/sdrpagewindow.cxx +++ b/svx/source/svdraw/sdrpagewindow.cxx @@ -414,13 +414,13 @@ void SdrPageWindow::InvalidatePageWindow(const basegfx::B2DRange& rRange) // we don't really have a paint window with LOK; OTOH we know that the // drawinglayer units are 100ths of mm, so they are easy to convert to // twips - const Rectangle aRect100thMM( + const tools::Rectangle aRect100thMM( static_cast<long>(floor(rRange.getMinX())), static_cast<long>(floor(rRange.getMinY())), static_cast<long>(ceil(rRange.getMaxX())), static_cast<long>(ceil(rRange.getMaxY()))); - const Rectangle aRectTwips = OutputDevice::LogicToLogic(aRect100thMM, MapUnit::Map100thMM, MapUnit::MapTwip); + const tools::Rectangle aRectTwips = OutputDevice::LogicToLogic(aRect100thMM, MapUnit::Map100thMM, MapUnit::MapTwip); if (SfxViewShell* pViewShell = SfxViewShell::Current()) SfxLokHelper::notifyInvalidation(pViewShell, aRectTwips.toString()); |