summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-09 09:38:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-09 08:46:09 +0000
commit284cdce6edc357f71543ff7392e8213e5da5150f (patch)
tree224324994ee2d233ad3a6bf7c0fe52ac277ef1ac /sfx2
parentb226dcb50d6728b62f39c9fa2e016724324944e3 (diff)
callcatcher: update unused code
Change-Id: I76825425ff084d3fb1e331fb7ff13b097744c208 Reviewed-on: https://gerrit.libreoffice.org/5882 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/backingwindow.cxx18
-rw-r--r--sfx2/source/dialog/backingwindow.hxx1
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();