[Libreoffice-commits] core.git: sfx2/source

Julien Nabet serval2412 at yahoo.fr
Sat Mar 30 11:46:24 PDT 2013


 sfx2/source/dialog/templdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cab7f6476f7d0f17bf2f1400bf93fb1b7fbd1625
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Mar 30 19:42:48 2013 +0100

    coverity#441020 Dereference after null check
    
    Change-Id: I39c301a98854d19e849a9e06ffac0657408456fe

diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 1b98850..65c783c 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -2674,7 +2674,7 @@ void SfxCommonTemplateDialog_Impl::UpdateFamily_Impl()
         if ( pOldStyleSheetPool )
             EndListening(*pOldStyleSheetPool);
         if ( pStyleSheetPool )
-            StartListening(*pOldStyleSheetPool);
+            StartListening(*pStyleSheetPool);
     }
 
     bWaterDisabled = sal_False;


More information about the Libreoffice-commits mailing list