diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-06-30 23:23:36 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-07-02 04:42:09 +0200 |
commit | 7250bc4721b334714bb0fa1345211c83330f94b2 (patch) | |
tree | bddb706179b4d7eee297544576f1ee4ccb307043 /svtools | |
parent | 34c77d4bf3d2924c4ad26728d4c491b393fa0fc8 (diff) |
notify the clipboard terminate listener before any other terminate listener
Otherwise we may have destroyed a service that is needed to generate
one of the clipboard formats requested by the system clipboard.
Change-Id: Id05de3ac569e3ed38cd97efc4c48326bc6a8db0b
Reviewed-on: https://gerrit.libreoffice.org/39429
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/transfer.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index 955e9b8d3276..d1913d795e4a 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -253,6 +253,21 @@ void SAL_CALL TransferableHelper::TerminateListener::notifyTermination( const Ev mrParent.ImplFlush(); } +OUString SAL_CALL TransferableHelper::TerminateListener::getImplementationName() +{ + return OUString("com.sun.star.comp.svt.TransferableHelperTerminateListener"); +} + +sal_Bool SAL_CALL TransferableHelper::TerminateListener::supportsService(const OUString& /*rServiceName*/) +{ + return false; +} + +css::uno::Sequence<OUString> TransferableHelper::TerminateListener::getSupportedServiceNames() +{ + return css::uno::Sequence<OUString>(); +} + Any SAL_CALL TransferableHelper::getTransferData( const DataFlavor& rFlavor ) { |