summaryrefslogtreecommitdiff
path: root/package/source/zippackage/ContentInfo.hxx
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2001-10-26 20:46:08 +0000
committerMartin Gallwey <mtg@openoffice.org>2001-10-26 20:46:08 +0000
commit51276abc7fae686eccf5a01f909db605e0885cf9 (patch)
treed189d0f8d45e310aec5d44cebf8f005ce8b18e9a /package/source/zippackage/ContentInfo.hxx
parent5bd7cdc42e614c1576adeba98342c538a9beffd4 (diff)
#93877# Call releaseUpwatdRef in destructor
Diffstat (limited to 'package/source/zippackage/ContentInfo.hxx')
-rw-r--r--package/source/zippackage/ContentInfo.hxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/package/source/zippackage/ContentInfo.hxx b/package/source/zippackage/ContentInfo.hxx
index 79bfc3f2863b..2fc533272cd0 100644
--- a/package/source/zippackage/ContentInfo.hxx
+++ b/package/source/zippackage/ContentInfo.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ContentInfo.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: mtg $ $Date: 2001-09-14 14:33:38 $
+ * last change: $Author: mtg $ $Date: 2001-10-26 21:46:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -67,13 +67,13 @@
#ifndef _COM_SUN_STAR_LANG_XUNOTUNNEl_HPP_
#include <com/sun/star/lang/XUnoTunnel.hpp>
#endif
-#include <hash_map>
#ifndef _ZIP_PACKAGE_FOLDER_HXX
#include <ZipPackageFolder.hxx>
#endif
#ifndef _ZIP_PACKAGE_STREAM_HXX
#include <ZipPackageStream.hxx>
#endif
+#include <hash_map>
struct ContentInfo
{
@@ -96,5 +96,10 @@ struct ContentInfo
, xTunnel ( pNewFolder )
{
}
+ ~ContentInfo ()
+ {
+ if (bFolder)
+ pFolder->releaseUpwardRef();
+ }
};
#endif