Re: [Libreoffice] Throwing exception in destructor

2011-08-11 Thread julien2412
Stephan Bergmann wrote: > > On Aug 10, 2011, at 11:22 PM, julien2412 wrote: > ... >> Could it be replaced by just a log (which function should be used for >> this >> kind of case ?) or something since a throw in destructor should be >> avoided ? > Given that assertNotNull() further down in that f

Re: [Libreoffice] Throwing exception in destructor

2011-08-11 Thread Stephan Bergmann
On Aug 10, 2011, at 11:22 PM, julien2412 wrote: > cppcheck has detected 1 Throwing exception in destructor" line 88 of > core/bridges/test/java_uno/acquire/testacquire.cxx > (sorry I mentionned 2 locations on IRC cause I forgot about the new git repo > : it was in core and old ure repo) > Could it

[Libreoffice] Throwing exception in destructor

2011-08-10 Thread julien2412
Hello, cppcheck has detected 1 Throwing exception in destructor" line 88 of core/bridges/test/java_uno/acquire/testacquire.cxx (sorry I mentionned 2 locations on IRC cause I forgot about the new git repo : it was in core and old ure repo) Could it be replaced by just a log (which function should b