diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 19:11:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 19:15:32 +0200 |
commit | 5eb6bd4db7fb3d43672c386ac9cde58e981c8aa2 (patch) | |
tree | dadf670246d763449c3bacef4acfdd2c6251d198 /sfx2 | |
parent | e6fa865b4d5c7eb0576f7b1510077bca081ce4fb (diff) |
lopluign:staticmethods: Handle DECL_LINK
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 37f1e4129bc5..c074d5804ea1 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -862,7 +862,7 @@ IMPL_LINK_NOARG(SfxDocumentPage, SignatureHdl) return 0; } -IMPL_LINK_NOARG(SfxDocumentPage, ChangePassHdl) +IMPL_STATIC_LINK_NOINSTANCE_NOARG(SfxDocumentPage, ChangePassHdl) { SfxObjectShell* pShell = SfxObjectShell::Current(); do @@ -1510,7 +1510,8 @@ void CustomPropertiesWindow::dispose() vcl::Window::dispose(); } -IMPL_LINK( CustomPropertiesWindow, TypeHdl, CustomPropertiesTypeBox*, pBox ) +IMPL_STATIC_LINK_NOINSTANCE( + CustomPropertiesWindow, TypeHdl, CustomPropertiesTypeBox*, pBox ) { long nType = reinterpret_cast<long>( pBox->GetSelectEntryData() ); CustomPropertyLine* pLine = pBox->GetLine(); @@ -1891,7 +1892,7 @@ void CustomPropertiesWindow::AddLine( const OUString& sName, Any& rAny ) pNewLine->m_aTypeBox->SelectEntryPos( m_aTypeBox->GetEntryPos( reinterpret_cast<void*>(nType) ) ); } - TypeHdl( pNewLine->m_aTypeBox.get() ); + TypeHdl( nullptr, pNewLine->m_aTypeBox.get() ); pNewLine->m_aNameBox->GrabFocus(); } |