Re: generated UNO code for service constructors

2013-02-15 Thread Stephan Bergmann
On 02/15/2013 10:35 AM, Noel Grandin wrote: Then how about this? Split the logic so we can differentiate the cases. It would grow more code, but if you absolutely feel like it... :) (In which case the "of type XFilePicker3" should arguably be removed from the original two throw expressions.)

Re: generated UNO code for service constructors

2013-02-15 Thread Noel Grandin
On 2013-02-15 11:24, Stephan Bergmann wrote: On 02/14/2013 02:54 PM, Noel Grandin wrote: I just ran into a weird bug where I could see that the service was being correctly instantiated, but then as a traced it back up the call tree, the reference was suddenly empty! (https://bugs.freedesktop.org

Re: generated UNO code for service constructors

2013-02-15 Thread Stephan Bergmann
On 02/14/2013 02:54 PM, Noel Grandin wrote: I just ran into a weird bug where I could see that the service was being correctly instantiated, but then as a traced it back up the call tree, the reference was suddenly empty! (https://bugs.freedesktop.org/show_bug.cgi?id=60804) That was because of t

generated UNO code for service constructors

2013-02-14 Thread Noel Grandin
Hi I just ran into a weird bug where I could see that the service was being correctly instantiated, but then as a traced it back up the call tree, the reference was suddenly empty! (https://bugs.freedesktop.org/show_bug.cgi?id=60804) That was because of the generated UNO code for the service