Re: About coverity 441020 (templdlg.cxx in sfx2)

2013-04-02 Thread cbosdonnat
Salut Julien, On Sat, 2013-03-30 at 12:23 -0700, julien2412 [via Document Foundation Mail Archive] wrote: > So I pushed a patch here: > http://cgit.freedesktop.org/libreoffice/core/commit/?id=cab7f6476f7d0f17bf2f1400bf93fb1b7fbd1625 > - StartListening(*pOldStyleSheetPool); > + StartListening(*pS

Re: About coverity 441020 (templdlg.cxx in sfx2)

2013-03-30 Thread julien2412
Idem with coverity#441021 http://cgit.freedesktop.org/libreoffice/core/commit/?id=761af309529d877e1b365fdcdb2fee4bb9ee377f -- View this message in context: http://nabble.documentfoundation.org/About-coverity-441020-templdlg-cxx-in-sfx2-tp4047124p4047129.html Sent from the Dev mailing list arch

About coverity 441020 (templdlg.cxx in sfx2)

2013-03-30 Thread julien2412
Hello, coverity scan reported this: CID 441020 (#1 of 1): Dereference after null check (FORWARD_NULL)6. var_deref_model: Passing null pointer "pOldStyleSheetPool" to function "SfxListener::StartListening(SfxBroadcaster &, sal_Bool)", which dereferences it. Indeed: 2650if ( pOldStyleShee