Hi Stephan,
Stephan Bergmann píše v Čt 06. 09. 2012 v 11:12 +0200:
I wonder if it makes sense to introduce some kind of CONSTASCII_STRLEN()
macro that would make this more obvious, and convert the
rQAttributeName.compareToAscii( RTL_CONSTASCII_STRINGPARAM("xmlns:") )
Not sure what you mean here. (And there already is
RTL_CONSTASCII_LENGTH, btw.)
What I meant was that by a different name, we'd distinguish the (old)
cases where RTL_CONSTASCII_STRINGPARAM() was inevitable in the past
(string construction, or so) from the cases where we are using that just
to count the length to get the "other" meaning of compareToAscii().
But that is a non-issue now when we do have startsWith(), thanks
Lubos! :-)
All the best,
Kendy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.