diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-10-18 22:41:42 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-10-18 22:41:42 +0000 |
commit | 5f6e7f6949fe1fba17b53a04af5b465f19b9b17d (patch) | |
tree | 336b116c7090225344e575c81b023f12aef39c5b /editors/openoffice.org-2/files/patch-package::source::zippackage::ZipPackageFolder.cxx | |
parent | * add 2 missing man pages (diff) |
First step to make this port working. Configure works and all patches
apply now. There are still some compile errors to fix.
As you may see the patchnames are very long, but that makes
maintaining patches a lot easier.
Notes
Notes:
svn path=/head/; revision=68299
Diffstat (limited to 'editors/openoffice.org-2/files/patch-package::source::zippackage::ZipPackageFolder.cxx')
-rw-r--r-- | editors/openoffice.org-2/files/patch-package::source::zippackage::ZipPackageFolder.cxx | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/editors/openoffice.org-2/files/patch-package::source::zippackage::ZipPackageFolder.cxx b/editors/openoffice.org-2/files/patch-package::source::zippackage::ZipPackageFolder.cxx new file mode 100644 index 000000000000..bb504c834eef --- /dev/null +++ b/editors/openoffice.org-2/files/patch-package::source::zippackage::ZipPackageFolder.cxx @@ -0,0 +1,41 @@ +--- ../package/source/zippackage/ZipPackageFolder.cxx.orig Wed Jun 12 23:09:16 2002 ++++ ../package/source/zippackage/ZipPackageFolder.cxx Wed Jun 12 23:10:42 2002 +@@ -212,7 +212,7 @@ + return maContents.size() > 0; + } + // XNameAccess +-ContentInfo& ZipPackageFolder::doGetByName( const OUString& aName ) ++ZipContentInfo& ZipPackageFolder::doGetByName( const OUString& aName ) + throw(NoSuchElementException, WrappedTargetException, RuntimeException) + { + ContentHash::iterator aIter = maContents.find ( aName ); +@@ -286,7 +286,7 @@ + aCI++) + { + const OUString &rShortName = (*aCI).first; +- const ContentInfo &rInfo = *(*aCI).second; ++ const ZipContentInfo &rInfo = *(*aCI).second; + + Sequence < PropertyValue > aPropSet (2); + PropertyValue *pValue = aPropSet.getArray(); +@@ -533,7 +533,7 @@ + aCI!=maContents.end(); + aCI++) + { +- ContentInfo &rInfo = * (*aCI).second; ++ ZipContentInfo &rInfo = * (*aCI).second; + if ( rInfo.bFolder )// && ! rInfo.pFolder->HasReleased () ) + rInfo.pFolder->releaseUpwardRef(); + else //if ( !rInfo.bFolder && !rInfo.pStream->HasReleased() ) +@@ -577,9 +577,9 @@ + throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException) + { + if ( pEntry->IsFolder() ) +- maContents[pEntry->aEntry.sName] = new ContentInfo ( static_cast < ZipPackageFolder *> ( pEntry ) ); ++ maContents[pEntry->aEntry.sName] = new ZipContentInfo ( static_cast < ZipPackageFolder *> ( pEntry ) ); + else +- maContents[pEntry->aEntry.sName] = new ContentInfo ( static_cast < ZipPackageStream *> ( pEntry ) ); ++ maContents[pEntry->aEntry.sName] = new ZipContentInfo ( static_cast < ZipPackageStream *> ( pEntry ) ); + + if ( bSetParent ) + pEntry->setParent ( *this ); |