diff options
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/DocumentRenderer.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/sdwindow.cxx | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index e02d18fdd02d..c321bd4de391 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -2041,13 +2041,11 @@ private: // Bugfix zu 44530: // Falls implizit umgestellt wurde (Landscape/Portrait) // wird dies beim Kacheln, bzw. aufteilen (Poster) beruecksichtigt - BOOL bSwitchPageSize = FALSE; if( ( rInfo.maPrintSize.Width() > rInfo.maPrintSize.Height() && aPageWidth < aPageHeight ) || ( rInfo.maPrintSize.Width() < rInfo.maPrintSize.Height() && aPageWidth > aPageHeight ) ) { - bSwitchPageSize = TRUE; const sal_Int32 nTmp (rInfo.maPrintSize.Width()); rInfo.maPrintSize.Width() = rInfo.maPrintSize.Height(); rInfo.maPrintSize.Height() = nTmp; 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) { |