Daniel Rentz schrieb:
Hi,

does the following snippet throw an exception?


uno::Reference< XSomething > xS1;
uno::Reference< XSomething > xS2( xS1, uno::UNO_QUERY_THROW );


Here, xS2 querries the same interface type from xS1. The intention is to check that xS1 is not null.


Ah, by studying the sources, I learned that it should be


uno::Reference< XSomething > xS2( xS1, uno::UNO_SET_THROW );


Right?

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to