summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/module/CenterViewFocusModule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/module/CenterViewFocusModule.cxx')
-rw-r--r--sd/source/ui/framework/module/CenterViewFocusModule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/framework/module/CenterViewFocusModule.cxx b/sd/source/ui/framework/module/CenterViewFocusModule.cxx
index c8543232f538..fa097d700643 100644
--- a/sd/source/ui/framework/module/CenterViewFocusModule.cxx
+++ b/sd/source/ui/framework/module/CenterViewFocusModule.cxx
@@ -105,11 +105,11 @@ void SAL_CALL CenterViewFocusModule::notifyConfigurationChange (
{
if (mbValid)
{
- if (rEvent.Type.equals(FrameworkHelper::msConfigurationUpdateEndEvent))
+ if (rEvent.Type == FrameworkHelper::msConfigurationUpdateEndEvent)
{
HandleNewView(rEvent.Configuration);
}
- else if (rEvent.Type.equals(FrameworkHelper::msResourceActivationEvent))
+ else if (rEvent.Type == FrameworkHelper::msResourceActivationEvent)
{
if (rEvent.ResourceId->getResourceURL().match(FrameworkHelper::msViewURLPrefix))
mbNewViewCreated = true;