]> source.dussan.org Git - poi.git/commitdiff
escherTertiaryOptRecord.lookup() added, thanks yegor
authorSergey Vladimirov <sergey@apache.org>
Fri, 29 Jul 2011 07:02:20 +0000 (07:02 +0000)
committerSergey Vladimirov <sergey@apache.org>
Fri, 29 Jul 2011 07:02:20 +0000 (07:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152127 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java

index 8956e829392e1f84da1aa0f2957a10177f2cbabf..2d4c2a1a300a5ac3046cb84e3952bcb569eb1d07 100644 (file)
@@ -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();