summaryrefslogtreecommitdiff
path: root/sw/source/ui/app
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2009-12-01 17:24:44 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2009-12-01 17:24:44 +0000
commiteb1e977a36bfeebf17c57a167238c610c74be783 (patch)
treea8706c77bc9f3ad24677561bdb7e2775970d7cf2 /sw/source/ui/app
parent0a878575c6718c248b1874d2437664aa8abeefb3 (diff)
parent58998288845aaa958e1570f9aea0c3ea4273569f (diff)
chartshapes: merge with DEV300 m46
Diffstat (limited to 'sw/source/ui/app')
-rw-r--r--sw/source/ui/app/swmodule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/app/swmodule.cxx b/sw/source/ui/app/swmodule.cxx
index d5c76d2323d8..694c2514ef93 100644
--- a/sw/source/ui/app/swmodule.cxx
+++ b/sw/source/ui/app/swmodule.cxx
@@ -295,7 +295,7 @@ uno::Reference< linguistic2::XLanguageGuessing > SwModule::GetLanguageGuesser()
SwModule::~SwModule()
{
SetPool(0);
- delete pAttrPool;
+ SfxItemPool::Free(pAttrPool);
delete pErrorHdl;
EndListening( *SFX_APP() );
}
@@ -514,7 +514,7 @@ void SwModule::InitAttrPool()
void SwModule::RemoveAttrPool()
{
SetPool(0);
- DELETEZ(pAttrPool);
+ SfxItemPool::Free(pAttrPool);
}