diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-08-04 07:54:55 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-08-04 07:54:55 +0000 |
commit | afb4b30036e5d52c493264eebfee9ed9ddbfbaf1 (patch) | |
tree | 607e5c37eeac525e29b2ecbe34e8ef029e16571a /sd/source/ui/inc/MasterPageObserver.hxx | |
parent | 24ad747f7bd82e454a985b70a8bf8dc20a80b4d7 (diff) |
INTEGRATION: CWS impress18ea (1.2.10); FILE MERGED
2004/07/28 17:03:43 af 1.2.10.1: #i31401# Changed singleton so that it can be used with SdGlobalResourceContainer.
Diffstat (limited to 'sd/source/ui/inc/MasterPageObserver.hxx')
-rw-r--r-- | sd/source/ui/inc/MasterPageObserver.hxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sd/source/ui/inc/MasterPageObserver.hxx b/sd/source/ui/inc/MasterPageObserver.hxx index 8b2172cad3f4..ce354a1be293 100644 --- a/sd/source/ui/inc/MasterPageObserver.hxx +++ b/sd/source/ui/inc/MasterPageObserver.hxx @@ -2,9 +2,9 @@ * * $RCSfile: MasterPageObserver.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-07-13 13:56:23 $ + * last change: $Author: rt $ $Date: 2004-08-04 08:54:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,6 +62,7 @@ #ifndef SD_VIEW_MASTER_PAGE_OBSERVER_HXX #define SD_VIEW_MASTER_PAGE_OBSERVER_HXX +#include "tools/SdGlobalResourceContainer.hxx" #include <osl/mutex.hxx> #include <tools/link.hxx> #include <memory> @@ -78,6 +79,7 @@ namespace sd { shows the recently used master pages. */ class MasterPageObserver + : public SdGlobalResource { public: typedef ::std::set<String> MasterPageNameSet; @@ -121,15 +123,11 @@ public: private: static ::osl::Mutex maMutex; - /** The single instance of this class. It is created on demand when - Instance() is called for the first time. - */ - static MasterPageObserver* mpInstance; - class Implementation; ::std::auto_ptr<Implementation> mpImpl; MasterPageObserver (void); + virtual ~MasterPageObserver (void); /// The copy constructor is not implemented. Do not use! MasterPageObserver (const MasterPageObserver&); |