summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/prevwsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/prevwsh.cxx')
-rw-r--r--sc/source/ui/view/prevwsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index a2a36f81a2cc..fb4171c84131 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -220,7 +220,7 @@ void ScPreviewShell::AdjustPosSizePixel( const Point &rPos, const Size &rSize )
else if ( SvxZoomType::PAGEWIDTH == eZoom )
pPreview->SetZoom( pPreview->GetOptimalZoom(true) );
- UpdateNeededScrollBars();
+ UpdateNeededScrollBars(false);
}
void ScPreviewShell::InnerResizePixel( const Point &rOfs, const Size &rSize )