summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/sdwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/sdwindow.cxx')
-rw-r--r--sd/source/ui/view/sdwindow.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx
index 3f86b5900932..f6b627e917f4 100644
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -721,7 +721,6 @@ void Window::UpdateMapOrigin(BOOL bInvalidate)
void Window::UpdateMapMode (void)
{
- Size aWinSize = PixelToLogic(GetOutputSizePixel());
maWinPos -= maViewOrigin;
Size aPix(maWinPos.X(), maWinPos.Y());
aPix = LogicToPixel(aPix);
@@ -733,9 +732,6 @@ void Window::UpdateMapMode (void)
if (mpViewShell && mpViewShell->ISA(DrawViewShell))
{
- Size aViewSizePixel = LogicToPixel(maViewSize);
- Size aWinSizePixel = LogicToPixel(aWinSize);
-
// Seite soll nicht am Fensterrand "kleben"
if (aPix.Width() == 0)
{