summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-04 09:21:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-04 11:23:58 +0000
commit23e572f47548c5465ccf588750fd614b59404f40 (patch)
tree8916c9b8dbd916fc7c2b40fd8132c3e44e3886bf /basic
parent3abfdd08caf588577c349f1e2cbe8778ec228c85 (diff)
don't do something different in dbgutil mode than product
Change-Id: Ibe0f41206ffaa3ff73018e49b4e710123c7fb14d
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sb.cxx19
1 files changed, 7 insertions, 12 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index a269c74b9133..ed23b59a1103 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -964,18 +964,13 @@ StarBASIC::~StarBASIC()
RemoveFactory( GetSbData()->pFormFac );
delete GetSbData()->pFormFac; GetSbData()->pFormFac = NULL;
-#ifdef DBG_UTIL
- // There is no need to clean SbiData at program end,
- // but we dislike MLK's at Purify
- // TODO: Where else???
- SbiGlobals** pp = (SbiGlobals**) ::GetAppData( SHL_SBC );
- SbiGlobals* p = *pp;
- if( p )
- {
- delete p;
- *pp = 0;
- }
-#endif
+ SbiGlobals** pp = (SbiGlobals**) ::GetAppData( SHL_SBC );
+ SbiGlobals* p = *pp;
+ if( p )
+ {
+ delete p;
+ *pp = 0;
+ }
}
else if( bDocBasic )
{