diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-14 15:23:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-15 09:37:32 +0200 |
commit | 662084d5cb0256a1e2f4654b0dcf78930dfd38fc (patch) | |
tree | 6b895ec5749763d66e8d6e66a11f1dc01dc4a791 /vcl/source | |
parent | 8491065b9a673450bd62d8b837540d879f5ce07e (diff) |
remove Link<> field that is never Call()'ed
Change-Id: I416734c7c42709438e3bdcdb8922ce4ec576c95a
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/print3.cxx | 6 | ||||
-rw-r--r-- | vcl/source/window/printdlg.cxx | 9 |
2 files changed, 0 insertions, 15 deletions
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index 17ada9e32e84..ab680127e251 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -145,7 +145,6 @@ public: std::vector< PropertyValue > maUIProperties; std::vector< bool > maUIPropertyEnabled; PropertyToIndexMap maPropertyToIndex; - Link<> maOptionChangeHdl; ControlDependencyMap maControlDependencies; ChoiceDisableMap maChoiceDisableMap; bool mbFirstPage; @@ -1653,11 +1652,6 @@ OUString PrinterController::makeEnabled( const OUString& i_rProperty ) return aDependency; } -void PrinterController::setOptionChangeHdl( const Link<>& i_rHdl ) -{ - mpImplData->maOptionChangeHdl = i_rHdl; -} - void PrinterController::createProgressDialog() { if( ! mpImplData->mpProgress ) diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index 2c81a2ac7167..b2185fcf070f 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -697,9 +697,6 @@ PrintDialog::PrintDialog( vcl::Window* i_pParent, const std::shared_ptr<PrinterC // setup optional UI options set by application setupOptionalUI(); - // set change handler for UI options - maPController->setOptionChangeHdl( LINK( this, PrintDialog, UIOptionsChanged ) ); - // remove layout page if unwanted if (!mbShowLayoutPage) mpTabCtrl->RemovePage(mpTabCtrl->GetPageId(2)); @@ -1675,12 +1672,6 @@ IMPL_LINK( PrintDialog, ModifyHdl, Edit*, pEdit ) return 0; } -IMPL_LINK_NOARG(PrintDialog, UIOptionsChanged) -{ - checkOptionalControlDependencies(); - return 0; -} - PropertyValue* PrintDialog::getValueForWindow( vcl::Window* i_pWindow ) const { PropertyValue* pVal = NULL; |