From 3d65dfa3c98e0f79c579cfac23d55092f7554244 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 28 Oct 2013 13:20:52 +0200 Subject: 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 --- dbaccess/source/ui/dlg/TextConnectionHelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 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 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