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

New commits:
commit 4bd26ee5f1c16eed69f4521bc4fcedbaa6e1737b
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Sat Mar 30 19:42:48 2013 +0100

    coverity#441020 Dereference after null check
    
    Change-Id: I39c301a98854d19e849a9e06ffac0657408456fe
    (cherry picked from commit cab7f6476f7d0f17bf2f1400bf93fb1b7fbd1625)

diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 94e8082..c551bac 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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to