[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - basic/source

Noel Power noel.power at suse.com
Mon May 20 11:46:52 PDT 2013


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

New commits:
commit 715222bc431183028b2accb2afb5f21b42008d70
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)
    Reviewed-on: https://gerrit.libreoffice.org/3975
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

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 );
     }


More information about the Libreoffice-commits mailing list