summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-23 22:41:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-24 15:27:28 +0200
commit892455e72a57d890918f37bd2b32d6c5000ba6ff (patch)
treea15e0b73f4747a56840f3f457ca786bbbeb759aa /basic
parent6390d2c52b75b2868d5ee98863a0af4f103c12e5 (diff)
Simplify uses of comphelper::string::equals with constant argument
Change-Id: I7b12dd04f6811f71b776ee9168703434217b59c8
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 73cd355389f1..f551af16b9ad 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -2775,7 +2775,7 @@ OUString implSetupWildcard( const OUString& rFileParam, SbiRTLData* pRTLData )
// Is there a pure file name left? Otherwise the path is
// invalid anyway because it was not accepted by OSL before
- if (!string::equals(aPureFileName, '*'))
+ if (aPureFileName != "*")
{
pRTLData->pWildCard = new WildCard( aPureFileName );
}