• Stephan Bergmann's avatar
    Make OUStringLiteral more useful · 87707670
    Stephan Bergmann yazdı
    ...by:
    
    * making the OUStringLiteral ctor non-explicit (to be exploited in a follow-up
      commit)
    
    * adding (LIBO_INTERNAL_ONLY) overloads to OUString/OUStringBuffer functions
      that can now take OUStringLiteral in addition to taking "real" string literals
    
    (Keeping the number of overloads smaller by replacing the ConstCharArrayDetector
    overloads with ones taking OUStringLiteral (for LIBO_INTERNAL_ONLY, at least)
    and relying on the now-implicit conversion from "real" string literals to
    OUStringLiteral unfortunately would not work:  Both OUString and OUStringLiteral
    argubably need implicit conversions from "real" string literals, so any function
    overloaded for OUString and OUStringLiteral would be ambinguous when called with
    a "real" string literal.  And removing the OUString ctor taking a "real" string
    literal and relying on an implicit conversion chain from "real" string literal
    to OUStringLiteral to OUString doesn't work because it would involve two user-
    provided conversions.)
    
    Change-Id: I14433fc1605b048807f60b3a3e14f92221d3a226
    Reviewed-on: https://gerrit.libreoffice.org/32097Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
    Tested-by: 's avatarStephan Bergmann <sbergman@redhat.com>
    87707670
Adı
Son kayıt (commit)
Son güncelleme
..
alloc.h Loading commit data...
bootstrap.h Loading commit data...
bootstrap.hxx Loading commit data...
byteseq.h Loading commit data...
byteseq.hxx Loading commit data...
character.hxx Loading commit data...
cipher.h Loading commit data...
crc.h Loading commit data...
digest.h Loading commit data...
instance.hxx Loading commit data...
locale.h Loading commit data...
malformeduriexception.hxx Loading commit data...
math.h Loading commit data...
math.hxx Loading commit data...
process.h Loading commit data...
random.h Loading commit data...
ref.hxx Loading commit data...
strbuf.h Loading commit data...
strbuf.hxx Loading commit data...
string.h Loading commit data...
string.hxx Loading commit data...
stringconcat.hxx Loading commit data...
stringutils.hxx Loading commit data...
tencinfo.h Loading commit data...
textcvt.h Loading commit data...
textenc.h Loading commit data...
unload.h Loading commit data...
uri.h Loading commit data...
uri.hxx Loading commit data...
ustrbuf.h Loading commit data...
ustrbuf.hxx Loading commit data...
ustring.h Loading commit data...
ustring.hxx Loading commit data...
uuid.h Loading commit data...