[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - basic/source

Noel Power noel.power at suse.com
Mon May 20 11:26:24 PDT 2013


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

New commits:
commit 71101052ca31ef5da3700fdcf5540d22529d4ff2
Author: Noel Power <noel.power at suse.com>
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)

diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index c39c7e6..06f8ce8 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -2608,7 +2608,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 );
     }


More information about the Libreoffice-commits mailing list