summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-28 15:41:25 +0200
committerNoel Grandin <noel@peralex.com>2013-11-05 15:15:30 +0200
commita6dc113734385cbf37db7ff1804f5276530f78f7 (patch)
tree91c47dca48541fa297d7a525ab0457302f7a74ed /editeng
parentbb60c5a877057918b59de08207e83aa284d281cc (diff)
convert xub_StrLen to sal_Int32
Convert code like: xub_StrLen nLen = aStr.getLength(); into sal_Int32 nLen = aStr.getLength(); Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/svxacorr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 4479705cb11c..a459c67a9010 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1048,7 +1048,7 @@ sal_Bool SvxAutoCorrect::FnCptlSttSntnc( SvxAutoCorrDoc& rDoc,
// Remove all non alphanumeric characters towards the end up until
// the last one.
- xub_StrLen nLen = sTmp.getLength();
+ sal_Int32 nLen = sTmp.getLength();
while( nLen && !rCC.isLetterNumeric( sTmp, nLen-1 ) )
--nLen;
if( nLen + 1 < sTmp.getLength() )