hide custom tab page if unused, e.g. macro printing

Change-Id: Ie3cea0d1d0b7140d1456478a92ac0e72bf423ed3
This commit is contained in:
Caolán McNamara 2012-09-10 17:04:13 +01:00
parent 87b5cdd5ed
commit 2d5d8ae320

View file

@ -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 )