sd/source/ui/func/fupage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f704d5a579eaa3bed1b40f8bdf5e40084622c79d
Author: Caolán McNamara <caol...@redhat.com>
Date:   Tue Apr 8 15:48:25 2014 +0100

    coverity#704752 Dereference after null check
    
    Change-Id: Iad6fa342d8d0daef1f07ed4f99add015ce3e4078

diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx
index 57513e7..9ed4ca4 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -314,7 +314,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
             pTempSet.reset( new SfxItemSet(*pDlg->GetOutputItemSet()) );
     }
 
-    if( pTempSet.get() )
+    if (pTempSet.get() && pStyleSheet)
     {
         pStyleSheet->AdjustToFontHeight(*pTempSet);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to