diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2019-02-06 09:16:53 +0100 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2019-02-20 16:46:56 +0100 |
commit | 1542aad2d238ea0b9119befe35fc67e6b2c0a3e7 (patch) | |
tree | 9b8a24cf6332feae0ede766be4dfea5aa2ac8ce7 /vcl | |
parent | 6d00c53fac49a29c89bcc4a5e8346195bd2a3b96 (diff) |
Drop KDE5FilePicker::disposing
Base class's 'Qt5FilePicker::disposing' is the same.
Change-Id: I91069385541a519f006d10b0580104f14beb551e
Reviewed-on: https://gerrit.libreoffice.org/68048
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/kde5/KDE5FilePicker.hxx | 4 | ||||
-rw-r--r-- | vcl/unx/kde5/KDE5FilePicker2.cxx | 12 |
2 files changed, 0 insertions, 16 deletions
diff --git a/vcl/unx/kde5/KDE5FilePicker.hxx b/vcl/unx/kde5/KDE5FilePicker.hxx index 195fd2c66b9c..5fa7f833fb3a 100644 --- a/vcl/unx/kde5/KDE5FilePicker.hxx +++ b/vcl/unx/kde5/KDE5FilePicker.hxx @@ -119,10 +119,6 @@ public: // XCancellable virtual void SAL_CALL cancel() override; - // XEventListener - virtual void disposing(const css::lang::EventObject& rEvent); - using cppu::WeakComponentImplHelperBase::disposing; - // XServiceInfo virtual OUString SAL_CALL getImplementationName() override; virtual sal_Bool SAL_CALL supportsService(const OUString& rServiceName) override; diff --git a/vcl/unx/kde5/KDE5FilePicker2.cxx b/vcl/unx/kde5/KDE5FilePicker2.cxx index a3f771bcaf9f..ca675a2bf93a 100644 --- a/vcl/unx/kde5/KDE5FilePicker2.cxx +++ b/vcl/unx/kde5/KDE5FilePicker2.cxx @@ -19,7 +19,6 @@ #include "KDE5FilePicker.hxx" -#include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <cppuhelper/interfacecontainer.h> @@ -679,17 +678,6 @@ void SAL_CALL KDE5FilePicker::cancel() // TODO } -// XEventListener -void KDE5FilePicker::disposing(const lang::EventObject& rEvent) -{ - uno::Reference<XFilePickerListener> xFilePickerListener(rEvent.Source, uno::UNO_QUERY); - - if (xFilePickerListener.is()) - { - removeFilePickerListener(xFilePickerListener); - } -} - // XServiceInfo OUString SAL_CALL KDE5FilePicker::getImplementationName() { |