On Mon, 07 Mar 2011 15:03:25 -0500
Kohei Yoshida <kyosh...@novell.com> wrote:

> Yeah, although if you have to type a lot of it along with UNO_QUERY it
> becomes a bit cumbersome to type
> 
> uno::Reference<container::XFoo> xSomeRef(SomeThing, uno::UNO_QUERY);
> 
> instead of
> 
> Reference<container::XFoo> xSomeRef(SomeThing, UNO_QUERY);
> 
> Especially these two symbols are used a lot when you work in a code
> that is heavily UNO-centric.
> 
> Still, I agree with the removal of using namespace
> com::sun::star::uno. I'm just not sure about spelling out the
> uno::Reference part...  My thinking is that, if the existing file
> already specifies "using com::sun::star::uno::Reference", then I'd
> rather we leave that as-is rather than replacing each use of
> Reference with uno::Reference.

Yes. I updated it on the wiki:

 
http://wiki.documentfoundation.org/index.php?title=Development%2FEasy_Hacks&action=historysubmit&diff=15954&oldid=15847

Best,

Bjoern


-- 
https://launchpad.net/~bjoern-michaelsen

Attachment: signature.asc
Description: PGP signature

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to