hide custom tab page if unused, e.g. macro printing
Change-Id: Ie3cea0d1d0b7140d1456478a92ac0e72bf423ed3
This commit is contained in:
parent
87b5cdd5ed
commit
2d5d8ae320
1 changed files with 3 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue