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

Julien Nabet serval2412 at yahoo.fr
Sat Mar 30 13:08:06 PDT 2013


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

New commits:
commit 761af309529d877e1b365fdcdb2fee4bb9ee377f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Mar 30 21:05:45 2013 +0100

    coverity#441021 Dereference after null check
    
    Change-Id: I2fb3bd758d7b903cd148f847c21c0eefd6f091e5

diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 65c783c..5cf22da 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1620,7 +1620,7 @@ void SfxCommonTemplateDialog_Impl::FilterSelect(
             if ( pOldStyleSheetPool )
                 EndListening(*pOldStyleSheetPool);
             if ( pStyleSheetPool )
-                StartListening(*pOldStyleSheetPool);
+                StartListening(*pStyleSheetPool);
         }
 
         UpdateStyles_Impl(UPDATE_FAMILY_LIST);


More information about the Libreoffice-commits mailing list