summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-11-07 20:32:49 +0100
committerAndras Timar <andras.timar@collabora.com>2013-11-07 20:33:19 +0100
commita5b9d4fba2464f1ba87ee2d0fc34a3195fabfeb8 (patch)
tree9074325d10c13985e886f227155757c4b51e9a35 /cui/source/options
parenta29c9eff781fd6bceee5078669a53c52086b5664 (diff)
xub_Strlen to sal_Int32
Change-Id: I5cf06c6d9648f8f447b7669edfab8436e6f948ab
Diffstat (limited to 'cui/source/options')
-rw-r--r--cui/source/options/optjava.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 86791543133e..348c411947e4 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -1072,10 +1072,9 @@ void SvxJavaClassPathDlg::SetClassPath( const OUString& _rPath )
if ( m_sOldPath.isEmpty() )
m_sOldPath = _rPath;
m_pPathList->Clear();
- xub_StrLen i;
sal_Int32 nIdx = 0;
sal_Int32 nCount = comphelper::string::getTokenCount(_rPath, CLASSPATH_DELIMITER);
- for ( i = 0; i < nCount; ++i )
+ for ( sal_Int32 i = 0; i < nCount; ++i )
{
OUString sToken = _rPath.getToken( 0, CLASSPATH_DELIMITER, nIdx );
INetURLObject aURL( sToken, INetURLObject::FSYS_DETECT );