summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/section.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/docnode/section.cxx')
-rw-r--r--sw/source/core/docnode/section.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx
index afdaa8c02216..79839c6bc7d9 100644
--- a/sw/source/core/docnode/section.cxx
+++ b/sw/source/core/docnode/section.cxx
@@ -76,8 +76,8 @@ public:
const OUString& rMimeType, const ::com::sun::star::uno::Any & rValue );
virtual const SwNode* GetAnchor() const;
- virtual sal_Bool IsInRange( sal_uLong nSttNd, sal_uLong nEndNd, xub_StrLen nStt = 0,
- xub_StrLen nEnd = STRING_NOTFOUND ) const;
+ virtual sal_Bool IsInRange( sal_uLong nSttNd, sal_uLong nEndNd, sal_Int32 nStt = 0,
+ sal_Int32 nEnd = -1 ) const;
inline SwSectionNode* GetSectNode()
{
@@ -1588,7 +1588,7 @@ const SwNode* SwIntrnlSectRefLink::GetAnchor() const
}
sal_Bool SwIntrnlSectRefLink::IsInRange( sal_uLong nSttNd, sal_uLong nEndNd,
- xub_StrLen , xub_StrLen ) const
+ sal_Int32 , sal_Int32 ) const
{
SwStartNode* pSttNd = rSectFmt.GetSectionNode( sal_False );
return pSttNd &&