From 8f178420485be246c2fafdc2bbe9ec70bb8de990 Mon Sep 17 00:00:00 2001 From: Rainer Klute Date: Tue, 22 Jun 2004 15:36:17 +0000 Subject: [PATCH] - Important fix to actually place the property into the property set. 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java b/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java index 95efb407c2..f30e6d65cb 100644 --- a/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java +++ b/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java @@ -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();