Strange part in connectivity/source/drivers/jdbc/tools.cxx

Tor Lillqvist tml at iki.fi
Thu May 29 03:31:13 PDT 2014


> But as it is, this "if" can never be true since pBegin->Name can't be at the
> same time = to "JavaDriverClass" and also equal to "CharSet" for example

Check the semantics of OUString::compareToAscii(). It returns zero on
equality, like strcmp()

--tml


More information about the LibreOffice mailing list