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 616440ac0daa..5ff95d735e72 100644
--- a/sc/source/ui/vba/vbaworksheets.cxx
+++ b/sc/source/ui/vba/vbaworksheets.cxx
@@ -523,7 +523,7 @@ void ScVbaWorksheets::PrintPreview( const css::uno::Any& /*EnableChanges*/ )
// force update
pPrvView->DataChanged(false);
// set sensible first page
- long nPage = pPrvView->GetFirstPage( 1 );
+ tools::Long nPage = pPrvView->GetFirstPage( 1 );
pPrvView->SetPageNo( nPage );
WaitUntilPreviewIsClosed( pViewFrame );
// restore old tab selection