diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-21 14:00:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-21 14:03:43 +0100 |
commit | 4698eeea354b51d7efd6bb229898e86b3e3c0596 (patch) | |
tree | 6b4d5a6c0706e417013524e8d078d2142ffb7a78 /sw/inc/doc.hxx | |
parent | ce67bc61da9e12987d57f764bc7c8376eea48bbe (diff) |
SwSection::GetFmt const-correctness
...otherwise, wouldn't make sense to have non-const/const overloads anyway.
Needs to introduce one const_cast into doctxm.cxx (which already contains quite
a handful), otherwise the required changes would turn into too much of an
avalanche.
Change-Id: I694c7a1df7089d83ee95d35ed09bb864e9703f7c
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 6efdfd49fe7d..f2fe7abbf447 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -991,14 +991,14 @@ public: SwTOXSearch eDir, bool bInReadOnly ); // Insert/Renew table/indes - const SwTOXBaseSection* InsertTableOf( const SwPosition& rPos, + SwTOXBaseSection* InsertTableOf( const SwPosition& rPos, const SwTOXBase& rTOX, const SfxItemSet* pSet = 0, bool bExpand = false ); const SwTOXBaseSection* InsertTableOf( sal_uLong nSttNd, sal_uLong nEndNd, const SwTOXBase& rTOX, const SfxItemSet* pSet = 0 ); - const SwTOXBase* GetCurTOX( const SwPosition& rPos ) const; + SwTOXBase* GetCurTOX( const SwPosition& rPos ); const SwAttrSet& GetTOXBaseAttrSet(const SwTOXBase& rTOX) const; bool DeleteTOX( const SwTOXBase& rTOXBase, bool bDelNodes = false ); |