diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-10-26 20:55:47 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-10-26 20:55:47 +0000 |
commit | 30f738512f612aa62b80826848d2f6debaa52075 (patch) | |
tree | bd6959868522ffc230b230ce2323c337db1d7ed7 /package/source | |
parent | 51276abc7fae686eccf5a01f909db605e0885cf9 (diff) |
93877# use clear method instead of a temporary
Diffstat (limited to 'package/source')
-rw-r--r-- | package/source/zippackage/ZipPackageEntry.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/source/zippackage/ZipPackageEntry.hxx b/package/source/zippackage/ZipPackageEntry.hxx index 79de03de8f78..c251f472e98b 100644 --- a/package/source/zippackage/ZipPackageEntry.hxx +++ b/package/source/zippackage/ZipPackageEntry.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ZipPackageEntry.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: mtg $ $Date: 2001-10-02 22:13:16 $ + * last change: $Author: mtg $ $Date: 2001-10-26 21:55:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -104,9 +104,9 @@ public: ZipPackageFolder* GetParent ( ) { return pParent; } void SetFolder ( bool bSetFolder ) { mbIsFolder = bSetFolder; } - inline void clearParent ( void ) + void clearParent ( void ) { - xParent = com::sun::star::uno::Reference < com::sun::star::container::XNameContainer > (); + xParent.clear(); } // XNamed virtual ::rtl::OUString SAL_CALL getName( ) |