diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-08-31 13:10:23 -0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-01 09:15:44 +0000 |
commit | 1d3483ed279982278b2f9fb1bab63485523e48c5 (patch) | |
tree | 449e6a4b8999e0ba54359b4b8d26a32e819942ad /sd | |
parent | 92ce8daf21f2081eca9b4f4294115b904c168a46 (diff) |
Remove some unused code from unusedcode.easy
Change-Id: Ic3e96eebbb914c5b905a8c58532ead9cb01dd41d
Reviewed-on: https://gerrit.libreoffice.org/5721
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/framework/tools/FrameworkHelper.cxx | 27 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/FrameworkHelper.hxx | 21 |
2 files changed, 0 insertions, 48 deletions
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index 788e0ce0c5a1..a50da0bcbcbb 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -869,33 +869,6 @@ void FrameworkHelper::RunOnResourceActivation( } } - - - -void FrameworkHelper::RunOnResourceDeactivation( - const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId, - const Callback& rCallback, - const bool bRunOnDeactivationEnd) -{ - if (mxConfigurationController.is() - && ! mxConfigurationController->getResource(rxResourceId).is()) - { - rCallback(false); - } - else - { - RunOnEvent( - bRunOnDeactivationEnd - ? msResourceDeactivationEndEvent - : msResourceDeactivationEvent, - FrameworkHelperResourceIdFilter(rxResourceId), - rCallback); - } -} - - - - /** A callback that sets a flag to a specified value when the callback is called. */ diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx index 9964bb6fd32c..c5796adb717b 100644 --- a/sd/source/ui/inc/framework/FrameworkHelper.hxx +++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx @@ -279,27 +279,6 @@ public: const cssu::Reference<cssdf::XResourceId>& rxResourceId, const Callback& rCallback); - /** Run the given callback when the specified resource has been - deactivated. When the resource is not active already when - this method is called then rCallback is called before this - method returns. - @param rxResourceId - Wait for the deactivation of this resource before calling - rCallback. - @param rCallback - The callback to be called when the resource is - deactivated. - @param bRunOnDeactivationEnd - The callback is run either when the deactivation starts - and the callback can still access the resource or when the - deactivatio is complete and the resource is no longer available. - - */ - void RunOnResourceDeactivation( - const cssu::Reference<cssdf::XResourceId>& rxResourceId, - const Callback& rCallback, - const bool bRunOnDeactivationEnd); - /** Normally the requested changes of the configuration are executed asynchronously. However, there is at least one situation (searching with the Outliner) where the surrounding code does not cope with |