summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/findtxt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/crsr/findtxt.cxx')
-rw-r--r--sw/source/core/crsr/findtxt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index 8b1d6d171c24..0cd49a122c68 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -167,7 +167,7 @@ lcl_CleanStr(const SwTxtNode& rNd, sal_Int32 const nStart, sal_Int32& rEnd,
}
while ( true );
- for( sal_uInt16 i = aReplaced.size(); i; )
+ for( std::vector<sal_Int32>::size_type i = aReplaced.size(); i; )
{
const sal_Int32 nTmp = aReplaced[ --i ];
if (nTmp == buf.getLength() - 1)