https://bugs.documentfoundation.org/show_bug.cgi?id=101185
Bug ID: 101185
Summary: Improve readability of OString concatanations
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Idea is to do OString concatenation/creation is simply done as:
If code looks like this:
OString tmp("'-O', please check");
tmp +=
Change it to something like:
OString tmp = "'-O', please check" + " your input '" + OString(av[i+1]) + "'";
Task is to :
Find occurences of consecutive OString concatanations with += operator
following creation (or assignment) of a new OUString object. And find a way to
replace those consecutive += assignments with one single assignment like the
one in the context below
Goal is :
More readable and efficient code.
is this a good idea ?
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs