https://bugs.freedesktop.org/show_bug.cgi?id=88205
Bug ID: 88205
Summary: Adapt uses of css::uno::Sequence to use
initializer_list ctor
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Libreoffice
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Since
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=d79b96cf6564187c96f5a1451ca98e2c93adee77>
"css::uno::Sequence ctor with initializer_list," that class has a ctor taking a
C++11 std::initializer_list, which can greatly simplify some code constructing
Sequence instances (see the commit for some examples).
Find places in the code that would benefit from adapting them (good candidates
are "getSupportedServiceNames" functions that return statically known OUString
Sequences).
(Note that this is a LIBO_INTERNAL_ONLY feature that cannot be used in external
code though; in general, just keep away from files in include/cppu,
include/cppuhelper, include/sal, include/salhelper, include/uno, and
odk/examples.)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs