summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unins.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/unins.cxx')
-rw-r--r--sw/source/core/undo/unins.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/undo/unins.cxx b/sw/source/core/undo/unins.cxx
index cc182b23a9a2..f71d3f592493 100644
--- a/sw/source/core/undo/unins.cxx
+++ b/sw/source/core/undo/unins.cxx
@@ -234,7 +234,7 @@ void SwUndoInsert::UndoImpl(::sw::UndoRedoContext & rContext)
else
{
sal_uLong nNd = nNode;
- xub_StrLen nCnt = nCntnt;
+ sal_Int32 nCnt = nCntnt;
if( nLen )
{
SwNodeIndex aNd( pTmpDoc->GetNodes(), nNode);
@@ -672,7 +672,7 @@ SwUndoReplace::Impl::Impl(
if( !pHistory->Count() )
delete pHistory, pHistory = 0;
- xub_StrLen nECnt = m_bSplitNext ? pNd->GetTxt().getLength()
+ const sal_Int32 nECnt = m_bSplitNext ? pNd->GetTxt().getLength()
: pEnd->nContent.GetIndex();
m_sOld = pNd->GetTxt().copy( m_nSttCnt, nECnt - m_nSttCnt );
}