summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaworksheets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbaworksheets.cxx')
-rw-r--r--sc/source/ui/vba/vbaworksheets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbaworksheets.cxx b/sc/source/ui/vba/vbaworksheets.cxx
index 86c4f1fc0a7c..ccb1cdd40e21 100644
--- a/sc/source/ui/vba/vbaworksheets.cxx
+++ b/sc/source/ui/vba/vbaworksheets.cxx
@@ -541,7 +541,7 @@ void ScVbaWorksheets::PrintPreview( const css::uno::Any& /*EnableChanges*/ ) thr
ScMarkData::MarkedTabsType aOldTabs = pPrvView->GetSelectedTabs();
pPrvView->SetSelectedTabs( aMarkData );
// force update
- pPrvView->DataChanged();
+ pPrvView->DataChanged(false);
// set sensible first page
long nPage = pPrvView->GetFirstPage( 1 );
pPrvView->SetPageNo( nPage );