summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/window/printdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index e137a2f31eb2..d9a7504bae76 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -925,7 +925,7 @@ void PrintDialog::preparePreview( bool i_bMayUseCache )
mnCurPage = nPages-1;
if( mnCurPage < 0 )
mnCurPage = 0;
-
+ mxPageEdit->set_text(OUString::number(mnCurPage + 1));
const MapMode aMapMode( MapUnit::Map100thMM );
if( nPages > 0 )