https://bugs.documentfoundation.org/show_bug.cgi?id=88815
Bug ID: 88815
Summary: macro-ify duplicate code ...
Product: LibreOffice
Version: unspecified
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: framework
Assignee: [email protected]
Reporter: [email protected]
If you do a:
$ git grep -5 of getImplementationName
you can see a truck-load of duplicated code :-) doing the most banal of things.
It might be nice to have a macro that we can replace both the methods of:
XServiceInfo
with - and (I guess) also provide a stock 'static' version of the same - that
returns the service name.
Occasionally an implementation provides a couple or more serviecs, so some
var-arg-ness to that might be rather useful:
Perhaps include/cppuhelper/supporsservice.hxx would be a good place for that
macro to live.
Thanks !
--
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