vcl/source/window/printdlg.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 77913325c27f5e3b8b6a3db8cfd52426815549d5 Author: Caolán McNamara <caol...@redhat.com> Date: Mon Sep 10 17:04:13 2012 +0100 hide custom tab page if unused, e.g. macro printing Change-Id: Ie3cea0d1d0b7140d1456478a92ac0e72bf423ed3 diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index 245e9f9..d097d39 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 )
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits