summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-05-20 09:56:26 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-05-20 18:46:34 +0000
commit715222bc431183028b2accb2afb5f21b42008d70 (patch)
tree46dbd491bbadf62c1d3ef92ab99fd716bb159cb4
parent2c7f6b004cd04f427529968d004405b1a95f74bb (diff)
fix wildcard handling regression( for basic functions like Dir ) fdo#64536
Tweak another fallout from String->OUString Change-Id: I3932bdb441fe6b08cefa6331870956664ade77bd (cherry picked from commit 175509176433cf5df2d98718e1a6f9cf5bbe9658) Reviewed-on: https://gerrit.libreoffice.org/3975 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-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 666dbbad012d..489f9967ee43 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -2586,7 +2586,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 );
}