summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/AppController.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-08 10:08:01 +0200
committerNoel Grandin <noel@peralex.com>2016-06-08 10:20:58 +0200
commit4cad126dc11a4798d5554da55b94ef51e0b0e21d (patch)
treea847f43191343947aaec2211a48f71ee89a2abd3 /dbaccess/source/ui/app/AppController.cxx
parent42dae96f97bfcc44d5e6ccf727e1cdb178123d56 (diff)
split AddRemoveListener into two methods
Change-Id: I247dc8a9033b39d5e49dc06e725f638644fcd02d
Diffstat (limited to 'dbaccess/source/ui/app/AppController.cxx')
-rw-r--r--dbaccess/source/ui/app/AppController.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index c3294b258094..a3cc1b33f328 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -342,7 +342,7 @@ void SAL_CALL OApplicationController::disposing()
{
getContainer()->showPreview(nullptr);
m_pClipbordNotifier->ClearCallbackLink();
- m_pClipbordNotifier->AddRemoveListener( getView(), false );
+ m_pClipbordNotifier->RemoveListener( getView() );
m_pClipbordNotifier->release();
m_pClipbordNotifier = nullptr;
}
@@ -448,7 +448,7 @@ bool OApplicationController::Construct(vcl::Window* _pParent)
m_pClipbordNotifier = new TransferableClipboardListener( LINK( this, OApplicationController, OnClipboardChanged ) );
m_pClipbordNotifier->acquire();
- m_pClipbordNotifier->AddRemoveListener( getView(), true );
+ m_pClipbordNotifier->AddListener( getView() );
OGenericUnoController::Construct( _pParent );
getView()->Show();