diff options
-rw-r--r-- | basic/source/runtime/methods.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index ff85d10bd49e..2fd3eb5aae07 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -2619,7 +2619,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 (!string::equals(aPureFileName, '*')) { pRTLData->pWildCard = new WildCard( aPureFileName ); } |