]> source.dussan.org Git - poi.git/commitdiff
Fixed POIFSFileSystem to set CLSID of root when constructing instances from InputStre...
authorYegor Kozlov <yegor@apache.org>
Mon, 20 Apr 2009 17:09:09 +0000 (17:09 +0000)
committerYegor Kozlov <yegor@apache.org>
Mon, 20 Apr 2009 17:09:09 +0000 (17:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@766757 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/changes.xml
src/documentation/content/xdocs/status.xml
src/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java

index 45ca4c6bdf2fa4ec9e79181c46f8fe45eeb9fbe1..380f9c78c9d083429839ce85370825b7b5108472 100644 (file)
@@ -37,6 +37,8 @@
 
                <!-- Don't forget to update status.xml too! -->
         <release version="3.5-beta6" date="2009-??-??">
+           <action dev="POI-DEVELOPERS" type="fix">39056 - Fixed POIFSFileSystem to set CLSID of root when constructing instances from InputStream</action>
+           <action dev="POI-DEVELOPERS" type="fix">47054 - Fixed cloneStyleFrom to avoid exception when cloning styles of the same family</action>
            <action dev="POI-DEVELOPERS" type="fix">46186 - Fixed Sheet to read GutsRecord in the Sheet(RecordStream rs)</action>
            <action dev="POI-DEVELOPERS" type="fix">46714 - Automatically call sheet.setAlternativeExpression when sheet.setRowSumsBelow is called </action>
            <action dev="POI-DEVELOPERS" type="fix">46279 - Allow 255 arguments for excel functions in XSSF </action>
index 1c50ca1b7e56e49ceffce582eddf99bfc666faa1..ccf0741d9f6fc43f207f88b37331779a62d89d24 100644 (file)
@@ -34,6 +34,8 @@
        <!-- Don't forget to update changes.xml too! -->
     <changes>
         <release version="3.5-beta6" date="2009-??-??">
+           <action dev="POI-DEVELOPERS" type="fix">39056 - Fixed POIFSFileSystem to set CLSID of root when constructing instances from InputStream</action>
+           <action dev="POI-DEVELOPERS" type="fix">47054 - Fixed cloneStyleFrom to avoid exception when cloning styles of the same family</action>
            <action dev="POI-DEVELOPERS" type="fix">46186 - Fixed Sheet to read GutsRecord in the Sheet(RecordStream rs)</action>
            <action dev="POI-DEVELOPERS" type="fix">46714 - Automatically call sheet.setAlternativeExpression when sheet.setRowSumsBelow is called </action>
            <action dev="POI-DEVELOPERS" type="fix">46279 - Allow 255 arguments for excel functions in XSSF </action>
index 6ea37ea3879deefc4861498773b645ea1019b273..fc89d74c9a74eec15d3d28796858bd825e833f73 100644 (file)
@@ -183,6 +183,9 @@ public class POIFSFileSystem
                        null,
                        header_block_reader.getPropertyStart()
         );
+
+        // For whatever reason CLSID of root is always 0.
+        getRoot().setStorageClsid(properties.getRoot().getStorageClsid());
     }
     /**
      * @param stream the stream to be closed