summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-30 19:42:48 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-04-02 14:44:03 +0200
commit4bd26ee5f1c16eed69f4521bc4fcedbaa6e1737b (patch)
treecbc061ee50e9a8b066b0d35121fcd7c84397be7a /sfx2
parentc976cd58b7bee71ea43dd1f4aad3b1c1fcb32516 (diff)
coverity#441020 Dereference after null check
Change-Id: I39c301a98854d19e849a9e06ffac0657408456fe (cherry picked from commit cab7f6476f7d0f17bf2f1400bf93fb1b7fbd1625)
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 94e8082212c4..c551bac9d027 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;