basic/source/runtime/methods.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 715222bc431183028b2accb2afb5f21b42008d70
Author: Noel Power <[email protected]>
Date:   Mon May 20 09:56:26 2013 +0100

    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 <[email protected]>
    Tested-by: Fridrich Strba <[email protected]>

diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 666dbba..489f996 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 );
     }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to