4f5b3e4bd5
...for LIBO_INTERNAL_ONLY, instead of having them as additional overloads. That
way, loplugin:bufferadd and loplugin:stringviewparam found many further
opportunities for simplification (all addressed here). Some notes:
* There is no longer an implicit conversion from O[U]String to O[U]StringBuffer
(as that goes via user-defined conversions through string_view now), which was
most noticeable in copy initializations like
OStringBuffer buf = someStr;
that had to be changed to direct initialization,
OStringBuffer buf(someStr);
But then again, it wasn't too many places that were affected and I think we can
live with that.
* I made the O[U]StringBuffer ctors taking string_view non-explicit, mainly to
get them in line with their counterparts taking O[U]String.
* I added an OUStringBuffer::lastIndexOf string_view overload that was missing
(relative to OUStringBuffer::indexOf).
* loplugin:stringconstant needed some addition to keep the
compilerplugins/clang/test/stringconstant.cxx checks related to
OStringBuffer::append and OStringBuffer::insert working.
* loplugin:stringviewparam no longer needs the special O[U]StringBuffer-related
code that had been introduced in
|
||
---|---|---|
.. | ||
inc/pch | ||
qa | ||
source | ||
CppunitTest_cppcanvas_emfplus.mk | ||
CppunitTest_cppcanvas_test.mk | ||
IwyuFilter_cppcanvas.yaml | ||
Library_cppcanvas.mk | ||
Library_mtfrenderer.mk | ||
Makefile | ||
Module_cppcanvas.mk | ||
README.md |
C++ Helper Classes for canvas
Helper C++ classes for canvas
, plus a GDIMetaFile
-to-XCanvas
converter.
EMF+
For cppcanvas/source/mtfrenderer
, see the README.md
in vcl
(the EMF+ part).