summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appquit.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
committerMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
commit94c78bed2887089fdfb0c36f5b68b9c98bfd5a72 (patch)
tree796e065334b8beb17a44f9022108d3d4314d1556 /sfx2/source/appl/appquit.cxx
parent25c459e8b631e6e1ca8357e806560bf7b7d3b2d4 (diff)
#i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where possible
Diffstat (limited to 'sfx2/source/appl/appquit.cxx')
-rw-r--r--sfx2/source/appl/appquit.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx
index 16ae1fe236a9..9a89b4de2f81 100644
--- a/sfx2/source/appl/appquit.cxx
+++ b/sfx2/source/appl/appquit.cxx
@@ -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,7 +203,7 @@ void SfxApplication::Deinitialize()
delete pAppData_Impl->pLabelResMgr;
-#ifndef PRODUCT
+#ifdef DBG_UTIL
DELETEX(pAppData_Impl->pSlotPool);
DELETEX(pAppData_Impl->pEventConfig);
DELETEX(pAppData_Impl->pMiscConfig);
@@ -212,7 +212,7 @@ void SfxApplication::Deinitialize()
DELETEX(pAppData_Impl->pInitLinkList);
#endif
-#ifndef PRODUCT
+#ifdef DBG_UTIL
DELETEX(pAppData_Impl->pTbxCtrlFac);
DELETEX(pAppData_Impl->pStbCtrlFac);
DELETEX(pAppData_Impl->pMenuCtrlFac);