From 48ed1d39a00c2ad617fab9191f192ef7509e8747 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 15 Jan 2014 15:26:41 +0000 Subject: make dbaccess xub_StrLen free Change-Id: I2c91c23f3dabacdb4ee65c18dc73f096041b74a9 --- dbaccess/source/ui/dlg/TextConnectionHelper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dbaccess/source/ui/dlg/TextConnectionHelper.cxx') diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx index 83f1febcb673..ad34c2423cab 100644 --- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx +++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx @@ -87,7 +87,7 @@ DBG_NAME(OTextConnectionHelper) DBG_CTOR(OTextConnectionHelper,NULL); sal_Int32 nCnt = comphelper::string::getTokenCount(m_aFieldSeparatorList, '\t'); - xub_StrLen i; + sal_Int32 i; for( i = 0 ; i < nCnt ; i += 2 ) m_aFieldSeparator.InsertEntry( m_aFieldSeparatorList.getToken( i, '\t' ) ); @@ -454,7 +454,7 @@ DBG_NAME(OTextConnectionHelper) OUString OTextConnectionHelper::GetSeparator( const ComboBox& rBox, const OUString& rList ) { sal_Unicode nTok = '\t'; - xub_StrLen nPos(rBox.GetEntryPos( rBox.GetText() )); + sal_uInt16 nPos(rBox.GetEntryPos( rBox.GetText() )); if( nPos == COMBOBOX_ENTRY_NOTFOUND ) return rBox.GetText().copy(0); @@ -470,7 +470,7 @@ DBG_NAME(OTextConnectionHelper) { char nTok = '\t'; sal_Int32 nCnt = comphelper::string::getTokenCount(rList, nTok); - xub_StrLen i; + sal_Int32 i; for( i=0 ; i