diff options
Diffstat (limited to 'sd/source/ui/framework/tools/FrameworkHelper.cxx')
-rw-r--r-- | sd/source/ui/framework/tools/FrameworkHelper.cxx | 27 |
1 files changed, 0 insertions, 27 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. */ |