]> source.dussan.org Git - poi.git/commitdiff
- Important fix to actually place the property into the property set.
authorRainer Klute <klute@apache.org>
Tue, 22 Jun 2004 15:36:17 +0000 (15:36 +0000)
committerRainer Klute <klute@apache.org>
Tue, 22 Jun 2004 15:36:17 +0000 (15:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353560 13f79535-47bb-0310-9956-ffa450edef68

src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java

index 95efb407c2ceb97c6f6d5d5aec78192fb6e5699d..f30e6d65cb85edf1f664c6ac7fe453fd95c7767f 100644 (file)
@@ -85,6 +85,9 @@ public class WriteTitle
         p.setType(Variant.VT_LPWSTR);
         p.setValue("Sample title");
 
+        /* Place the property into the section. */
+        ms.setProperty(p);
+
         /* Create the POI file system the property set is to be written to. */
         final POIFSFileSystem poiFs = new POIFSFileSystem();