diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-23 22:41:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-24 15:27:28 +0200 |
commit | 892455e72a57d890918f37bd2b32d6c5000ba6ff (patch) | |
tree | a15e0b73f4747a56840f3f457ca786bbbeb759aa /dbaccess/source/ui/dlg | |
parent | 6390d2c52b75b2868d5ee98863a0af4f103c12e5 (diff) |
Simplify uses of comphelper::string::equals with constant argument
Change-Id: I7b12dd04f6811f71b776ee9168703434217b59c8
Diffstat (limited to 'dbaccess/source/ui/dlg')
-rw-r--r-- | dbaccess/source/ui/dlg/TextConnectionHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |