summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
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 /dbaccess/source/ui/dlg/TextConnectionHelper.cxx
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 'dbaccess/source/ui/dlg/TextConnectionHelper.cxx')
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
index 0ac82b4bbe65..83f1febcb673 100644
--- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
@@ -86,7 +86,7 @@ DBG_NAME(OTextConnectionHelper)
{
DBG_CTOR(OTextConnectionHelper,NULL);
- xub_StrLen nCnt = comphelper::string::getTokenCount(m_aFieldSeparatorList, '\t');
+ sal_Int32 nCnt = comphelper::string::getTokenCount(m_aFieldSeparatorList, '\t');
xub_StrLen i;
for( i = 0 ; i < nCnt ; i += 2 )
@@ -469,7 +469,7 @@ DBG_NAME(OTextConnectionHelper)
void OTextConnectionHelper::SetSeparator( ComboBox& rBox, const OUString& rList, const OUString& rVal )
{
char nTok = '\t';
- xub_StrLen nCnt(comphelper::string::getTokenCount(rList, nTok));
+ sal_Int32 nCnt = comphelper::string::getTokenCount(rList, nTok);
xub_StrLen i;
for( i=0 ; i<nCnt ; i+=2 )