From 2fd50d234605358bd9fc97e182e6d50a2776e091 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Fri, 29 Jul 2011 07:02:20 +0000 Subject: [PATCH] escherTertiaryOptRecord.lookup() added, thanks yegor git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152127 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java index 8956e82939..2d4c2a1a30 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java @@ -228,8 +228,8 @@ public class OfficeDrawingsImpl implements OfficeDrawings if ( escherTertiaryOptRecord == null ) return defaultValue; - // YK: There is no EscherTertiaryOptRecord.lookup in r1152099. Disabled until implemented. - EscherSimpleProperty escherProperty = null;//escherTertiaryOptRecord.lookup( propertyId ); + EscherSimpleProperty escherProperty = escherTertiaryOptRecord + .lookup( propertyId ); if ( escherProperty == null ) return defaultValue; int value = escherProperty.getPropertyValue(); -- 2.39.5