patch for postgresql driver

Michael Meeks michael.meeks at suse.com
Tue Apr 16 14:58:09 PDT 2013


Hi Wols,

On Tue, 2013-04-16 at 21:03 +0100, Wols Lists wrote:
>             if( args[i].Name.matchIgnoreAsciiCase( OUString(
> keyword_list[j]), strlen( keyword_list[j] )))
>             {

	I guess that a different matchIgnoreAsciiCase call is happening and/or
the OUString constructor is confused :-)

-if( args[i].Name.matchIgnoreAsciiCase( OUString(keyword_list[j]), strlen( keyword_list[j] )))
+if( args[i].Name.matchIgnoreAsciiCase( OUString(keyword_list[j], strlen( keyword_list[j] ))))

	Or somesuch, or use matchIgnoreAsciiCaseL instead - which might be better.

	HTH !

		Michael.
            
-- 
michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot



More information about the LibreOffice mailing list