From d6fdb2dec18389e3b2dba2243abc3e5751b6449d Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Fri, 29 Jul 2011 04:54:34 +0000 Subject: [PATCH] fixed compilation errors git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152103 13f79535-47bb-0310-9956-ffa450edef68 --- src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java | 2 +- .../src/org/apache/poi/hwpf/usermodel/OfficeDrawingsImpl.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java index f1c573ebb8..573777e560 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java @@ -49,7 +49,7 @@ import org.apache.poi.ss.usermodel.Footer; import org.apache.poi.ss.usermodel.Header; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; -simport org.apache.poi.ss.util.CellRangeAddress; +import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellRangeAddressList; import org.apache.poi.ss.util.CellReference; import org.apache.poi.ss.util.SSCellRange; 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 2d4c2a1a30..8956e82939 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; - EscherSimpleProperty escherProperty = escherTertiaryOptRecord - .lookup( propertyId ); + // YK: There is no EscherTertiaryOptRecord.lookup in r1152099. Disabled until implemented. + EscherSimpleProperty escherProperty = null;//escherTertiaryOptRecord.lookup( propertyId ); if ( escherProperty == null ) return defaultValue; int value = escherProperty.getPropertyValue(); -- 2.39.5