From 3d65dfa3c98e0f79c579cfac23d55092f7554244 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 28 Oct 2013 13:20:52 +0200 Subject: convert xub_StrLen to sal_Int32 Converts code that calls comphelper::string::getTokenCount() to use sal_Int32 to store the return value. Change-Id: I439605a39d29b1309649e30f3ff40dfa412efcde --- extensions/source/propctrlr/standardcontrol.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/source') diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 395b564291be..06bf36dea221 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -1158,10 +1158,10 @@ namespace pcr //.............................................................. StlSyntaxSequence< OUString > lcl_convertMultiLineToList( const OUString& _rCompsedTextWithLineBreaks ) { - xub_StrLen nLines( comphelper::string::getTokenCount(_rCompsedTextWithLineBreaks, '\n') ); + sal_Int32 nLines = comphelper::string::getTokenCount(_rCompsedTextWithLineBreaks, '\n'); StlSyntaxSequence< OUString > aStrings( nLines ); StlSyntaxSequence< OUString >::iterator stringItem = aStrings.begin(); - for ( xub_StrLen token = 0; token < nLines; ++token, ++stringItem ) + for ( sal_Int32 token = 0; token < nLines; ++token, ++stringItem ) *stringItem = _rCompsedTextWithLineBreaks.getToken( token, '\n' ); return aStrings; } -- cgit