diff options
Diffstat (limited to 'sw/inc/undobj.hxx')
-rw-r--r-- | sw/inc/undobj.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx index 7c8ea72590a8..61f7735cf4cf 100644 --- a/sw/inc/undobj.hxx +++ b/sw/inc/undobj.hxx @@ -59,7 +59,7 @@ protected: bool bCacheComment; mutable std::unique_ptr<OUString> pComment; - static void RemoveIdxFromSection( SwDoc&, sal_uLong nSttIdx, sal_uLong* pEndIdx = nullptr ); + static void RemoveIdxFromSection( SwDoc&, sal_uLong nSttIdx, const sal_uLong* pEndIdx = nullptr ); static void RemoveIdxFromRange( SwPaM& rPam, bool bMoveNext ); static void RemoveIdxRel( sal_uLong, const SwPosition& ); @@ -163,7 +163,7 @@ protected: sal_uLong* pEndNdIdx = nullptr, sal_Int32 * pEndCntIdx = nullptr ); static void MoveFromUndoNds( SwDoc& rDoc, sal_uLong nNodeIdx, SwPosition& rInsPos, - sal_uLong* pEndNdIdx = nullptr, sal_Int32 * pEndCntIdx = nullptr ); + const sal_uLong* pEndNdIdx = nullptr, const sal_Int32 * pEndCntIdx = nullptr ); // These two methods move the SPoint back/forth from PaM. With it // a range can be spanned for Undo/Redo. (In this case the SPoint |