diff options
author | Javen O'Neal <onealj@apache.org> | 2016-07-17 13:11:18 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2016-07-17 13:11:18 +0000 |
commit | 52838316b46543e5f363d685cdfbfa1720bf62a7 (patch) | |
tree | 6c447dbdad944665d49b17be76664f10335bcb27 | |
parent | 941daf4cacccc287a643df68df3d03feb0ec8064 (diff) | |
download | poi-52838316b46543e5f363d685cdfbfa1720bf62a7.tar.gz poi-52838316b46543e5f363d685cdfbfa1720bf62a7.zip |
bug 59170: fix compile error from r1753052 when removing deprecated TAP_TYPE constant
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753069 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java index cba04c0597..1e3272f477 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java @@ -35,9 +35,9 @@ public final class TableSprmUncompressor { } + /** @deprecated POI 3.8 beta 4 */ @Deprecated - public static TableProperties uncompressTAP(byte[] grpprl, - int offset) + public static TableProperties uncompressTAP(byte[] grpprl, int offset) { TableProperties newProperties = new TableProperties(); @@ -49,7 +49,7 @@ public final class TableSprmUncompressor //TAPXs are actually PAPXs so we have to make sure we are only trying to //uncompress the right type of sprm. - if (sprm.getType() == SprmOperation.TAP_TYPE) + if (sprm.getType() == SprmOperation.TYPE_TAP) { try { unCompressTAPOperation(newProperties, sprm); |