diff options
-rw-r--r-- | sc/source/ui/view/prevwsh.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx index 77f633ddfc91..4bf563122e85 100644 --- a/sc/source/ui/view/prevwsh.cxx +++ b/sc/source/ui/view/prevwsh.cxx @@ -354,10 +354,6 @@ void ScPreviewShell::UpdateNeededScrollBars() pCorner->SetPosSizePixel( Point( aPos.X() + aNewSize.Width(), aPos.Y() + aNewSize.Height() ), Size( nBarW, nBarH ) ); - if ( SVX_ZOOM_WHOLEPAGE == eZoom ) - pPreview->SetZoom( pPreview->GetOptimalZoom( sal_False ) ); - else if ( SVX_ZOOM_PAGEWIDTH == eZoom ) - pPreview->SetZoom( pPreview->GetOptimalZoom( sal_True ) ); UpdateScrollBars(); } |