- 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
This commit is contained in:
Rainer Klute 2004-06-22 15:36:17 +00:00
parent 5548b2ff90
commit 8f17842048
1 changed files with 3 additions and 0 deletions

View 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();