summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/TextConnectionHelper.cxx')
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
index a04d977daf83..ab4b1505aac0 100644
--- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
@@ -470,7 +470,7 @@ DBG_NAME(OTextConnectionHelper)
else
{
sExtension = m_aETOwnExtension.GetText();
- if ( sExtension.GetToken(0,'.').Equals('*') )
+ if ( comphelper::string::equals(sExtension.GetToken(0,'.'), '*') )
sExtension.Erase(0,2);
}
return sExtension;
@@ -487,11 +487,11 @@ DBG_NAME(OTextConnectionHelper)
return rBox.GetText().Copy(0);
if ( !( &m_aTextSeparator == &rBox && nPos == (rBox.GetEntryCount()-1) ) )
- return String(
+ return rtl::OUString(
static_cast< sal_Unicode >(
rList.GetToken(((nPos*2)+1), nTok ).ToInt32()));
// somewhat strange ... translates for instance an "32" into " "
- return String();
+ return rtl::OUString();
}
//------------------------------------------------------------------------
@@ -503,11 +503,11 @@ DBG_NAME(OTextConnectionHelper)
for( i=0 ; i<nCnt ; i+=2 )
{
- String sTVal(
+ rtl::OUString sTVal(
static_cast< sal_Unicode >(
rList.GetToken( (i+1), nTok ).ToInt32()));
- if( sTVal == rVal )
+ if( sTVal.equals(rVal) )
{
rBox.SetText( rList.GetToken( i, nTok ) );
break;