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

--- Comment #33 from Stephan Bergmann <[email protected]> ---
(In reply to Aleksas Pantechovskis from comment #32)
> Also looks like OSL_FORMAT was replaced by SAL_STREAM
> http://nabble.documentfoundation.org/Assertions-and-Logging-td3518719.html
> but git grep found only 2 usages of it.
> As far as I can see currently string concatenation via + operator is usually
> used ("cannot get service instance \"" + rServiceName + "\"!").

Yeah, comment 0 is a bit dated by now.  :)  SAL_STREAM should be rarely
necessary, if at all (the two uses in sfx2/source/control/bindings.cxx could
arguably be rewritten using string concatenation with + instead), and should
never be necessary when generating useful exception messages in the context of
this issue.  Always use string concatenation for that (use OUString::number to
put numbers into the message).

-- 
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

Reply via email to