diff options
Diffstat (limited to 'sc/source/core/inc/poolhelp.hxx')
-rw-r--r-- | sc/source/core/inc/poolhelp.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sc/source/core/inc/poolhelp.hxx b/sc/source/core/inc/poolhelp.hxx index 2b3946f8ddcf..c66402e1d5f1 100644 --- a/sc/source/core/inc/poolhelp.hxx +++ b/sc/source/core/inc/poolhelp.hxx @@ -2,7 +2,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 @@ -45,28 +45,28 @@ class ScPoolHelper : public salhelper::SimpleReferenceObject { private: ScDocOptions aOpt; - ScDocumentPool* pDocPool; + ScDocumentPool* pDocPool; rtl::Reference< ScStyleSheetPool > mxStylePool; - mutable SvNumberFormatter* pFormTable; - mutable SfxItemPool* pEditPool; // EditTextObjectPool - mutable SfxItemPool* pEnginePool; // EditEnginePool + mutable SvNumberFormatter* pFormTable; + mutable SfxItemPool* pEditPool; // EditTextObjectPool + mutable SfxItemPool* pEnginePool; // EditEnginePool ScDocument* m_pSourceDoc; void UseDocOptions() const; public: ScPoolHelper( ScDocument* pSourceDoc ); - virtual ~ScPoolHelper(); + virtual ~ScPoolHelper(); // called in dtor of main document - void SourceDocumentGone(); + void SourceDocumentGone(); // access to pointers (are never 0): - ScDocumentPool* GetDocPool() const { return pDocPool; } - ScStyleSheetPool* GetStylePool() const { return mxStylePool.get(); } - SvNumberFormatter* GetFormTable() const; - SfxItemPool* GetEditPool() const; - SfxItemPool* GetEnginePool() const; + ScDocumentPool* GetDocPool() const { return pDocPool; } + ScStyleSheetPool* GetStylePool() const { return mxStylePool.get(); } + SvNumberFormatter* GetFormTable() const; + SfxItemPool* GetEditPool() const; + SfxItemPool* GetEnginePool() const; void SetFormTableOpt(const ScDocOptions& rOpt); }; |