diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2002-06-18 06:11:35 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2002-06-18 06:11:35 +0000 |
commit | b4e6e261db915f67c99f178a5c6d158331378307 (patch) | |
tree | 0a4fac8458437ee2dc8c478b76fc5b2892482073 | |
parent | ac0fd8eaea36d50571278d056422f5a90081c04c (diff) |
#99809# compress ole objects also
-rw-r--r-- | package/source/zippackage/ZipPackageStream.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index 5665421cf059..d46ee6a361b8 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ZipPackageStream.cxx,v $ * - * $Revision: 1.28 $ + * $Revision: 1.29 $ * - * last change: $Author: mtg $ $Date: 2001-11-15 20:27:47 $ + * last change: $Author: mav $ $Date: 2002-06-18 07:11:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -196,7 +196,8 @@ void SAL_CALL ZipPackageStream::setPropertyValue( const OUString& aPropertyName, if (sMediaType.getLength() > 0) { - if ( sMediaType.indexOf (OUString( RTL_CONSTASCII_USTRINGPARAM ( "text" ) ) ) != -1) + if ( sMediaType.indexOf (OUString( RTL_CONSTASCII_USTRINGPARAM ( "text" ) ) ) != -1 + || sMediaType.equals( OUString( RTL_CONSTASCII_USTRINGPARAM ( "application/vnd.sun.star.oleobject" ) ) ) ) bToBeCompressed = sal_True; else bToBeCompressed = sal_False; |