summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-15 15:26:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-15 15:36:23 +0000
commit48ed1d39a00c2ad617fab9191f192ef7509e8747 (patch)
tree03d3d758a9bba9cde987d67aa3dfddee53a38b5c /dbaccess/source/ui/dlg/TextConnectionHelper.cxx
parent878dcbee6488f2a3dfbc1f86abc8857cf6608d20 (diff)
make dbaccess xub_StrLen free
Change-Id: I2c91c23f3dabacdb4ee65c18dc73f096041b74a9
Diffstat (limited to 'dbaccess/source/ui/dlg/TextConnectionHelper.cxx')
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.cxx6
1 files changed, 3 insertions, 3 deletions
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<nCnt ; i+=2 )
{