summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-28 13:20:52 +0200
committerNoel Grandin <noel@peralex.com>2013-11-05 13:18:14 +0200
commit3d65dfa3c98e0f79c579cfac23d55092f7554244 (patch)
tree492c438c7af8dc56240add22d259945b67ea130a /extensions/source/propctrlr
parent9802db7ff181a9c4d15cc453725b63b82a941fff (diff)
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
Diffstat (limited to 'extensions/source/propctrlr')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx4
1 files changed, 2 insertions, 2 deletions
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;
}