diff options
Diffstat (limited to 'sd/source/ui/framework/module/ReadOnlyModeObserver.cxx')
-rwxr-xr-x | sd/source/ui/framework/module/ReadOnlyModeObserver.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx b/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx index 090247e7f68c..1bc567ac8a93 100755 --- a/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx +++ b/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -160,13 +160,13 @@ bool ReadOnlyModeObserver::ConnectToDispatch (void) } } } - + return mxDispatch.is(); } - + void ReadOnlyModeObserver::statusChanged (const frame::FeatureStateEvent& rEvent) throw (RuntimeException) { @@ -191,7 +191,7 @@ void SAL_CALL ReadOnlyModeObserver::disposing ( mxConfigurationController = NULL; else if (rEvent.Source == mxDispatch) mxDispatch = NULL; - + dispose(); } |