https://bugs.documentfoundation.org/show_bug.cgi?id=158067

--- Comment #3 from Stephan Bergmann <[email protected]> ---
Cases where an existing O[U]StringLiteral variable was accessed at potentially
more than one place in the code have been automatically rewritten to instead
use O[U]String variables with
<https://git.libreoffice.org/core/+/769899853557831ae53d020497e81c8fe572874b%5E!/>
"Extended loplugin:ostr: Automatic rewrite some O[U]StringLiteral ->
O[U]String" et al.

Rewriting cases where an existing O[U]StringLiteral variable is accessed at
exactly one place in the code (and the variable can thus be elided completely,
directly using an O[U]String literal at the place of use) is work in progress
by me.  It is for now covered by the

>                         //TODO, left for later:
>                         continue;

in compilerplugins/clang/ostr.cxx introduced with that
769899853557831ae53d020497e81c8fe572874b mentioned above.

So feel free to fix individual cases as an easy hack here, but note that I may
eventually rewrite all the remaining cases automatically in one go, to
potentially get rid of the O[U]StringLiteral classes in their current form
completely.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to