summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/thints.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode/thints.cxx')
-rw-r--r--sw/source/core/txtnode/thints.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index b155c0f98e4b..e2dea45e13fb 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -116,7 +116,7 @@ static void TextAttrDelete( SwDoc & rDoc, SwTextAttr * const pAttr )
SwTextAttr::Destroy( pAttr, rDoc.GetAttrPool() );
}
-static bool TextAttrContains(const sal_Int32 nPos, SwTextAttrEnd * const pAttr)
+static bool TextAttrContains(const sal_Int32 nPos, const SwTextAttrEnd * const pAttr)
{
return (pAttr->GetStart() < nPos) && (nPos < *pAttr->End());
}