diff options
author | Manuel Mall <manuel@apache.org> | 2005-11-09 11:49:43 +0000 |
---|---|---|
committer | Manuel Mall <manuel@apache.org> | 2005-11-09 11:49:43 +0000 |
commit | d9aaf8603b6f29c1ad5e273d801ce8202d5b5134 (patch) | |
tree | 583eb69607e33954f0ab26a371a1a13c0ccb7389 /src/java | |
parent | 79d4c53b71d2787760e64df2d59af40fbb4fdcac (diff) | |
download | xmlgraphics-fop-d9aaf8603b6f29c1ad5e273d801ce8202d5b5134.tar.gz xmlgraphics-fop-d9aaf8603b6f29c1ad5e273d801ce8202d5b5134.zip |
Fix for Bug 36928 - refresh cached property value if explicitly set twice which can happen for font-size
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332024 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rwxr-xr-x | src/java/org/apache/fop/fo/StaticPropertyList.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/StaticPropertyList.java b/src/java/org/apache/fop/fo/StaticPropertyList.java index 37699847a..a8455ee9e 100755 --- a/src/java/org/apache/fop/fo/StaticPropertyList.java +++ b/src/java/org/apache/fop/fo/StaticPropertyList.java @@ -53,6 +53,9 @@ public class StaticPropertyList extends PropertyList { */ public void putExplicit(int propId, Property value) { explicit[propId] = value; + if (values[propId] != null) { // if the cached value is set overwrite it + values[propId] = value; + } } /** |