summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-30 21:05:45 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-30 21:05:55 +0100
commit761af309529d877e1b365fdcdb2fee4bb9ee377f (patch)
tree3cf7d6a455ca4ad9b3485c0d6368595f55f41ba9 /sfx2
parentAdapt the patch to apply to ICU 51.1 (diff)
downloadcore-761af309529d877e1b365fdcdb2fee4bb9ee377f.tar.gz
core-761af309529d877e1b365fdcdb2fee4bb9ee377f.zip
coverity#441021 Dereference after null check
Change-Id: I2fb3bd758d7b903cd148f847c21c0eefd6f091e5
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 65c783c09df2..5cf22dae50f4 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);