diff options
author | Michael Stahl <mst@openoffice.org> | 2010-03-16 11:28:31 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-03-16 11:28:31 +0100 |
commit | d0277b77d53d51972f8d9b0fb09e97289e9e6f56 (patch) | |
tree | 62ab57e1a033a6a858fc3c529da128c03de18174 /sw/inc/section.hxx | |
parent | odfmetadata4: #i109599#: rename SwSection::[GS]etName() to [GS]etSectionName() (diff) | |
download | core-d0277b77d53d51972f8d9b0fb09e97289e9e6f56.tar.gz core-d0277b77d53d51972f8d9b0fb09e97289e9e6f56.zip |
odfmetadata4: #i109599#: rename SwSection members
Diffstat (limited to 'sw/inc/section.hxx')
-rw-r--r-- | sw/inc/section.hxx | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index 9833793718a0..58ad0d8daafb 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -170,8 +170,8 @@ class SW_DLLPUBLIC SwSection private: SwSectionData m_Data; - SwServerObjectRef refObj; // falls DataServer -> Pointer gesetzt - ::sfx2::SvBaseLinkRef refLink; + SwServerObjectRef m_RefObj; // set if DataServer + ::sfx2::SvBaseLinkRef m_RefLink; SW_DLLPRIVATE void ImplSetHiddenFlag( bool const bHidden, bool const bCondition); @@ -243,20 +243,21 @@ public: // Daten Server-Methoden void SetRefObject( SwServerObject* pObj ); - const SwServerObject* GetObject() const { return &refObj; } - SwServerObject* GetObject() { return &refObj; } - BOOL IsServer() const { return refObj.Is(); } + const SwServerObject* GetObject() const { return & m_RefObj; } + SwServerObject* GetObject() { return & m_RefObj; } + bool IsServer() const { return m_RefObj.Is(); } // Methoden fuer gelinkte Bereiche - USHORT GetUpdateType() const { return refLink->GetUpdateMode(); } - void SetUpdateType( USHORT nType ) { refLink->SetUpdateMode( nType ); } + USHORT GetUpdateType() const { return m_RefLink->GetUpdateMode(); } + void SetUpdateType(USHORT const nType ) + { m_RefLink->SetUpdateMode(nType); } - BOOL IsConnected() const { return refLink.Is(); } - void UpdateNow() { refLink->Update(); } - void Disconnect() { refLink->Disconnect(); } + bool IsConnected() const { return m_RefLink.Is(); } + void UpdateNow() { m_RefLink->Update(); } + void Disconnect() { m_RefLink->Disconnect(); } - const ::sfx2::SvBaseLink& GetBaseLink() const { return *refLink; } - ::sfx2::SvBaseLink& GetBaseLink() { return *refLink; } + const ::sfx2::SvBaseLink& GetBaseLink() const { return *m_RefLink; } + ::sfx2::SvBaseLink& GetBaseLink() { return *m_RefLink; } void CreateLink( LinkCreateType eType ); |