diff options
Diffstat (limited to 'sw/source/core/unocore/unoportenum.cxx')
-rw-r--r-- | sw/source/core/unocore/unoportenum.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx index 137bf4880c83..26a00c334746 100644 --- a/sw/source/core/unocore/unoportenum.cxx +++ b/sw/source/core/unocore/unoportenum.cxx @@ -101,7 +101,7 @@ namespace , aPosition ( rPosition ) { } - sal_Int32 getIndex () + sal_Int32 getIndex () const { return aPosition.nContent.GetIndex(); } @@ -236,7 +236,7 @@ namespace { } - sal_Int32 getIndex () + sal_Int32 getIndex () const { return maPosition.nContent.GetIndex(); } @@ -689,7 +689,7 @@ struct SwXRedlinePortion_Impl { } - sal_Int32 getRealIndex () + sal_Int32 getRealIndex () const { return m_bStart ? m_pRedline->Start()->nContent.GetIndex() : m_pRedline->End() ->nContent.GetIndex(); |