summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/printdlg.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 245e9f992551..d097d39fc7b7 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1155,6 +1155,9 @@ void PrintDialog::setupOptionalUI()
maJobPage.mpCopySpacer->Show( sal_False );
maJobPage.mpReverseOrderBox->Show( sal_False );
}
+
+ if (!mpCustomOptionsUIBuilder)
+ mpTabCtrl->RemovePage(mpTabCtrl->GetPageId(1));
}
void PrintDialog::DataChanged( const DataChangedEvent& i_rDCEvt )