Questions about getCppuType
Stephan Bergmann
sbergman at redhat.com
Mon May 19 00:45:36 PDT 2014
On 05/18/2014 11:30 AM, julien2412 wrote:
> I noticed there are a lot of "Reference" without prefix.
> Is there a way to be sure it's ok to replace these occurences by
> cppu::UnoType... ?
cppu::getCppuType((<rtl::Reference<T>>*)0) does not make sense, so you
can be pretty sure that an occurrence of
cppu::getCppuType((<Reference<T>>*)0) does denote
cppu::getCppuType((<css::uno::Reference<T>>*)0) and you can replace that
with cppu::UnoType<T>::get().
Stephan
More information about the LibreOffice
mailing list