summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2000-12-20 12:11:20 +0000
committerSascha Ballach <sab@openoffice.org>2000-12-20 12:11:20 +0000
commit700b7f2ab6528d448b07199fe511e505c8399300 (patch)
tree38c1f48ee6b3063e067b8e1aeb13a2e5ee3ad760 /xmloff/source/style
parent3e18a1052bab84f74ac7877d7468d8205f3b7987 (diff)
fix a memory leak (the values in the index field were not deleted)
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/xmlstyle.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index ac1cbe5b7505..1a4526b99c3c 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlstyle.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: fs $ $Date: 2000-12-18 15:19:42 $
+ * last change: $Author: sab $ $Date: 2000-12-20 13:11:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -370,7 +370,7 @@ int SvXMLStyleIndexCmp_Impl( const SvXMLStyleIndex_Impl& r1,
typedef SvXMLStyleContext *SvXMLStyleContextPtr;
DECLARE_LIST( SvXMLStyleContexts_Impl, SvXMLStyleContextPtr )
-DECLARE_CONTAINER_SORT( SvXMLStyleIndices_Impl, SvXMLStyleIndex_Impl )
+DECLARE_CONTAINER_SORT_DEL( SvXMLStyleIndices_Impl, SvXMLStyleIndex_Impl )
IMPL_CONTAINER_SORT( SvXMLStyleIndices_Impl, SvXMLStyleIndex_Impl,
SvXMLStyleIndexCmp_Impl )