diff options
Diffstat (limited to 'sd/source/ui/framework/module/ToolPanelModule.cxx')
-rw-r--r-- | sd/source/ui/framework/module/ToolPanelModule.cxx | 10 |
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 e96adff0bc3d..7664734522d9 100644 --- a/sd/source/ui/framework/module/ToolPanelModule.cxx +++ b/sd/source/ui/framework/module/ToolPanelModule.cxx @@ -2,7 +2,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 @@ -52,7 +52,7 @@ using ::sd::framework::FrameworkHelper; namespace sd { namespace framework { namespace { - + typedef ::cppu::WeakComponentImplHelper1 < ::com::sun::star::frame::XStatusListener > LocalReadOnlyModeObserverInterfaceBase; @@ -103,7 +103,7 @@ public: xComponent->removeEventListener(this); } - + virtual void SAL_CALL disposing (const com::sun::star::lang::EventObject& rEvent) throw(RuntimeException) { @@ -118,14 +118,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 |