瀏覽代碼

Fix missing shorthands.

PR: 26423
Submitted by: Simon Pepping


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197260 13f79535-47bb-0310-9956-ffa450edef68
pull/30/head
Finn Bock 20 年之前
父節點
當前提交
33da9f62d9
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      src/java/org/apache/fop/fo/FOPropertyMapping.java
  2. 1
    1
      src/java/org/apache/fop/fo/Property.java

+ 1
- 1
src/java/org/apache/fop/fo/FOPropertyMapping.java 查看文件

@@ -412,9 +412,9 @@ public class FOPropertyMapping implements Constants {
*/
public static Property.Maker[] getGenericMappings() {
FOPropertyMapping gp = new FOPropertyMapping();
gp.createGenerics();
// Create the shorthand first, they are referenced by the real properties.
gp.createShorthandProperties();
gp.createGenerics();
gp.createAccessibilityProperties();
gp.createAbsolutePositionProperties();
gp.createAuralProperties();

+ 1
- 1
src/java/org/apache/fop/fo/Property.java 查看文件

@@ -117,7 +117,7 @@ public class Property {
inherited = generic.inherited;
defaultValue = generic.defaultValue;
percentBase = generic.percentBase;
if (shorthands != null) {
if (generic.shorthands != null) {
shorthands = new Property.Maker[generic.shorthands.length];
System.arraycopy(shorthands, 0, generic.shorthands, 0, shorthands.length);
}

Loading…
取消
儲存