Re: [api-dev] Re: Usage of UNO_QUERY_THROW

2008-12-16 Thread Frank Schönheit - Sun Microsystems Germany
Hi Daniel, What happens if UNO_QUERY_THROW is used instead? ... What is the reason you have introduced UNO_SET_THROW? It spares the queryInterface call. For a pattern like Reference XFoo xFoo = xBar-getSomeFoo(); // ensure that xFoo is not NULL, which would be a violation // of xBar's

Re: [api-dev] Re: Usage of UNO_QUERY_THROW

2008-12-16 Thread Daniel Rentz
Frank Schönheit - Sun Microsystems Germany schrieb: Hi Daniel, What happens if UNO_QUERY_THROW is used instead? ... What is the reason you have introduced UNO_SET_THROW? It spares the queryInterface call. For a pattern like Reference XFoo xFoo = xBar-getSomeFoo(); // ensure that xFoo