diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/control/FieldDescControl.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/TextConnectionHelper.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx index 290c01629563..4a58d0632c9d 100644 --- a/dbaccess/source/ui/control/FieldDescControl.cxx +++ b/dbaccess/source/ui/control/FieldDescControl.cxx @@ -228,9 +228,9 @@ OUString OFieldDescControl::BoolStringUI(const OUString& rPersistentString) cons if (rPersistentString == aYes || rPersistentString == aNo) return rPersistentString; - if (comphelper::string::equals(rPersistentString, '0')) + if (rPersistentString == "0") return aNo; - if (comphelper::string::equals(rPersistentString, '1')) + if (rPersistentString == "1") return aYes; return ModuleRes(STR_VALUE_NONE).toString(); diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx index 8b43ab4cfe7b..593ad22deb5d 100644 --- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx +++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx @@ -413,7 +413,7 @@ namespace dbaui else { sExtension = m_pOwnExtension->GetText(); - if ( comphelper::string::equals(sExtension.getToken(0,'.'), '*') ) + if ( sExtension.getToken(0,'.') == "*" ) sExtension = sExtension.copy(2); } return sExtension; |