summaryrefslogtreecommitdiff
path: root/cui
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
parenta29c9eff781fd6bceee5078669a53c52086b5664 (diff)
xub_Strlen to sal_Int32
Change-Id: I5cf06c6d9648f8f447b7669edfab8436e6f948ab
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/cuifmsearch.cxx2
-rw-r--r--cui/source/options/optjava.cxx3
-rw-r--r--cui/source/tabpages/labdlg.cxx2
3 files changed, 3 insertions, 4 deletions
diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx
index a13345a3d083..e9ac03d1bb5b 100644
--- a/cui/source/dialogs/cuifmsearch.cxx
+++ b/cui/source/dialogs/cuifmsearch.cxx
@@ -127,7 +127,7 @@ FmSearchDialog::FmSearchDialog(Window* pParent, const OUString& sInitialText, co
fmscInitial.nContext = nInitialContext;
m_lnkContextSupplier.Call(&fmscInitial);
DBG_ASSERT(fmscInitial.xCursor.is(), "FmSearchDialog::FmSearchDialog : invalid data supplied by ContextSupplier !");
- DBG_ASSERT(comphelper::string::getTokenCount(fmscInitial.strUsedFields, ';') == (xub_StrLen)fmscInitial.arrFields.size(),
+ DBG_ASSERT(comphelper::string::getTokenCount(fmscInitial.strUsedFields, ';') == (sal_Int32)fmscInitial.arrFields.size(),
"FmSearchDialog::FmSearchDialog : invalid data supplied by ContextSupplied !");
#if (OSL_DEBUG_LEVEL > 1) || defined DBG_UTIL
for (sal_Int32 i=0; i<(sal_Int32)fmscInitial.arrFields.size(); ++i)
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 );
diff --git a/cui/source/tabpages/labdlg.cxx b/cui/source/tabpages/labdlg.cxx
index 51ed6a224dac..5fac81733a09 100644
--- a/cui/source/tabpages/labdlg.cxx
+++ b/cui/source/tabpages/labdlg.cxx
@@ -385,7 +385,7 @@ sal_uInt16* SvxCaptionTabPage::GetRanges()
void SvxCaptionTabPage::SetupAnsatz_Impl( sal_uInt16 nType )
{
- xub_StrLen nCnt=0, nIdx=0;
+ sal_Int32 nCnt=0, nIdx=0;
switch( nType )
{