diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-04 10:29:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-05 09:30:41 +0200 |
commit | 259820af718fe15ea5080711f77918dad8f14fbb (patch) | |
tree | a80039fad41dfbfaeaa8fe0b7403c29336f37861 /sw/source/core/edit/edtox.cxx | |
parent | 03e6cc9130864adcea5a1ae5440f24a9c128e8d6 (diff) |
loplugin:staticmethods
Change-Id: I90dd921077bbfc57200e398e7959306f26c65cfe
Diffstat (limited to 'sw/source/core/edit/edtox.cxx')
-rw-r--r-- | sw/source/core/edit/edtox.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/edit/edtox.cxx b/sw/source/core/edit/edtox.cxx index fdc6253b9b83..879285db36ff 100644 --- a/sw/source/core/edit/edtox.cxx +++ b/sw/source/core/edit/edtox.cxx @@ -92,10 +92,10 @@ void SwEditShell::DeleteTOXMark( SwTOXMark* pMark ) /// Collect all listing markers sal_uInt16 SwEditShell::GetCurTOXMarks(SwTOXMarks& rMarks) const { - return GetDoc()->GetCurTOXMark( *GetCrsr()->Start(), rMarks ); + return SwDoc::GetCurTOXMark( *GetCrsr()->Start(), rMarks ); } -bool SwEditShell::IsTOXBaseReadonly(const SwTOXBase& rTOXBase) const +bool SwEditShell::IsTOXBaseReadonly(const SwTOXBase& rTOXBase) { OSL_ENSURE( rTOXBase.ISA( SwTOXBaseSection ), "no TOXBaseSection!" ); const SwTOXBaseSection& rTOXSect = static_cast<const SwTOXBaseSection&>(rTOXBase); @@ -199,7 +199,7 @@ bool SwEditShell::UpdateTableOf( const SwTOXBase& rTOX, const SfxItemSet* pSet ) /// Get current listing before or at the Cursor const SwTOXBase* SwEditShell::GetCurTOX() const { - return GetDoc()->GetCurTOX( *GetCrsr()->GetPoint() ); + return SwDoc::GetCurTOX( *GetCrsr()->GetPoint() ); } bool SwEditShell::DeleteTOX( const SwTOXBase& rTOXBase, bool bDelNodes ) |