https://bugs.documentfoundation.org/show_bug.cgi?id=88205
Michael Meeks <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Michael Meeks <[email protected]> --- As Stephan says that's really great for the getSupportedServiceNames cases: a quick: $ git grep -5 getSupportedServiceNames shows you a load of these places (when you get through accessibility) where we can turn two or often three lines into one like this: css::uno::Sequence< OUString > BridgeFactory::static_getSupportedServiceNames() { - OUString name("com.sun.star.bridge.BridgeFactory"); - return css::uno::Sequence< OUString >(&name, 1); + return css::uno::Sequence<OUString>{ "com.sun.star.bridge.BridgeFactory" }; } Then again - it's not clear to me that this wouldn't produce rather more efficient code with a var-arg method that took C strings =) but at least far more terse. 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
