summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-30 19:42:48 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-30 19:44:12 +0100
commitcab7f6476f7d0f17bf2f1400bf93fb1b7fbd1625 (patch)
tree444a407e633196b652af0a32407f806f6ab15c6f /sfx2
parentcertainly this was not meant to be _PC_NAME_MAX (diff)
downloadcore-cab7f6476f7d0f17bf2f1400bf93fb1b7fbd1625.tar.gz
core-cab7f6476f7d0f17bf2f1400bf93fb1b7fbd1625.zip
coverity#441020 Dereference after null check
Change-Id: I39c301a98854d19e849a9e06ffac0657408456fe
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 1b98850a5936..65c783c09df2 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;