summaryrefslogtreecommitdiff
path: root/sw/source/ui/utlui/initui.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/utlui/initui.cxx')
-rw-r--r--sw/source/ui/utlui/initui.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/utlui/initui.cxx b/sw/source/ui/utlui/initui.cxx
index ae6709d4d84d..1dba7a914f7d 100644
--- a/sw/source/ui/utlui/initui.cxx
+++ b/sw/source/ui/utlui/initui.cxx
@@ -193,8 +193,7 @@ ShellResource::ShellResource()
ShellResource::~ShellResource()
{
- if( pAutoFmtNameLst )
- delete pAutoFmtNameLst, pAutoFmtNameLst = 0;
+ delete pAutoFmtNameLst;
}
String ShellResource::GetPageDescName( sal_uInt16 nNo, PageNameMode eMode )