summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/module/ToolPanelModule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/module/ToolPanelModule.cxx')
-rw-r--r--sd/source/ui/framework/module/ToolPanelModule.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/framework/module/ToolPanelModule.cxx b/sd/source/ui/framework/module/ToolPanelModule.cxx
index 888fa68ad708..ed9447efab48 100644
--- a/sd/source/ui/framework/module/ToolPanelModule.cxx
+++ b/sd/source/ui/framework/module/ToolPanelModule.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,7 +51,7 @@ using ::sd::framework::FrameworkHelper;
namespace sd { namespace framework {
namespace {
-
+
typedef ::cppu::WeakComponentImplHelper1 <
::com::sun::star::frame::XStatusListener
> LocalReadOnlyModeObserverInterfaceBase;
@@ -102,7 +102,7 @@ public:
xComponent->removeEventListener(this);
}
-
+
virtual void SAL_CALL disposing (const com::sun::star::lang::EventObject& rEvent)
throw(RuntimeException)
{
@@ -117,14 +117,14 @@ public:
}
dispose();
}
-
+
virtual void SAL_CALL statusChanged (const com::sun::star::frame::FeatureStateEvent& rEvent)
throw(RuntimeException)
{
bool bReadWrite (true);
if (rEvent.IsEnabled)
rEvent.State >>= bReadWrite;
-
+
if (bReadWrite)
mpResourceManager->Enable();
else