aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ddf
diff options
context:
space:
mode:
authorYegor Kozlov <yegor@apache.org>2011-07-21 11:00:41 +0000
committerYegor Kozlov <yegor@apache.org>2011-07-21 11:00:41 +0000
commit17e1904bdf108daec20878bc7af50e52bce9c9c0 (patch)
treeec31162e49b0c5cf74d4f001c9a09b8038f518f6 /src/java/org/apache/poi/ddf
parent3de5c462382b38dd964567e0a3b604699079f907 (diff)
downloadpoi-17e1904bdf108daec20878bc7af50e52bce9c9c0.tar.gz
poi-17e1904bdf108daec20878bc7af50e52bce9c9c0.zip
bug 50401 - fixed EscherProperty to return property name instead of 'unknown' for complex properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149111 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/ddf')
-rw-r--r--src/java/org/apache/poi/ddf/EscherProperty.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/ddf/EscherProperty.java b/src/java/org/apache/poi/ddf/EscherProperty.java
index faa2cc44a1..e06fff1bfc 100644
--- a/src/java/org/apache/poi/ddf/EscherProperty.java
+++ b/src/java/org/apache/poi/ddf/EscherProperty.java
@@ -62,7 +62,7 @@ public abstract class EscherProperty {
}
public String getName() {
- return EscherProperties.getPropertyName(_id);
+ return EscherProperties.getPropertyName(getPropertyNumber());
}
/**