diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 18 | ||||
-rw-r--r-- | sfx2/source/dialog/backingwindow.hxx | 1 |
2 files changed, 0 insertions, 19 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index e92bdc71ec88..62760c4a2ce9 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -222,24 +222,6 @@ BackingWindow::~BackingWindow() } -IMPL_LINK( BackingWindow, WindowEventListener, VclSimpleEvent*, pEvent ) -{ - VclWindowEvent* pWinEvent = dynamic_cast<VclWindowEvent*>( pEvent ); - if ( pWinEvent && pWinEvent->GetId() == VCLEVENT_WINDOW_DATACHANGED ) - { - DataChangedEvent* pDCEvt = - static_cast<DataChangedEvent*>( pWinEvent->GetData() ); - if ( pDCEvt->GetFlags() & SETTINGS_STYLE ) - { - SetBackground(); - Invalidate(); - // fdo#34392: Resize buttons to match the new text size. - Resize(); - } - } - return 0; -} - void BackingWindow::initControls() { if( mbInitControls ) diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx index 02fcbf379e17..4945e9571575 100644 --- a/sfx2/source/dialog/backingwindow.hxx +++ b/sfx2/source/dialog/backingwindow.hxx @@ -126,7 +126,6 @@ class BackingWindow DECL_LINK( RecentTemplateToggleHdl, Button* ); DECL_LINK( OpenTemplateHdl, ThumbnailViewItem* ); DECL_LINK( ExtLinkClickHdl, Button* ); - DECL_LINK( WindowEventListener, VclSimpleEvent* ); void initControls(); |