summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appquit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/appquit.cxx')
-rw-r--r--sfx2/source/appl/appquit.cxx17
1 files changed, 8 insertions, 9 deletions
diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx
index 213abbb8df..63d33e5499 100644
--- a/sfx2/source/appl/appquit.cxx
+++ b/sfx2/source/appl/appquit.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,14 +36,14 @@
#ifdef WIN
#define _TL_LANG_SPECIAL
#endif
-#include <svtools/svdde.hxx>
+#include <svl/svdde.hxx>
#ifndef _MSGBOX_HXX //autogen
#include <vcl/msgbox.hxx>
#endif
-#include <svtools/eitem.hxx>
+#include <svl/eitem.hxx>
-#include <svtools/saveopt.hxx>
-#include <svtools/misccfg.hxx>
+#include <unotools/saveopt.hxx>
+#include <unotools/misccfg.hxx>
#ifndef GCC
#endif
@@ -77,7 +77,7 @@
using ::basic::BasicManagerRepository;
-#ifndef PRODUCT
+#ifdef DBG_UTIL
DECLARE_LIST( SfxFrameWindowFactoryArray_Impl, SfxFrameWindowFactory* )
SV_DECL_PTRARR(SfxInitLinkList, Link*, 2, 2)
#endif
@@ -203,16 +203,15 @@ void SfxApplication::Deinitialize()
delete pAppData_Impl->pLabelResMgr;
-#ifndef PRODUCT
+#ifdef DBG_UTIL
DELETEX(pAppData_Impl->pSlotPool);
DELETEX(pAppData_Impl->pEventConfig);
- DELETEX(pAppData_Impl->pMiscConfig);
SfxMacroConfig::Release_Impl();
DELETEX(pAppData_Impl->pFactArr);
DELETEX(pAppData_Impl->pInitLinkList);
#endif
-#ifndef PRODUCT
+#ifdef DBG_UTIL
DELETEX(pAppData_Impl->pTbxCtrlFac);
DELETEX(pAppData_Impl->pStbCtrlFac);
DELETEX(pAppData_Impl->pMenuCtrlFac);