Changeset 1660 for trunk/docx4j/src/main


Ignore:
Timestamp:
09/14/11 13:14:14 (8 months ago)
Author:
jharrop
Message:

bugfix: this.pgSz= .., not pgSz=...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/model/structure/PageDimensions.java

    r1601 r1660  
    7979                if (pgSz == null) { 
    8080                        log.warn("No pgSz in this section; defaulting."); 
    81                         pgSz = Context.getWmlObjectFactory().createSectPrPgSz();                         
     81                        this.pgSz = Context.getWmlObjectFactory().createSectPrPgSz();                    
    8282                        setPgSize(PageSizePaper.A4, false ); 
    8383                } else { 
     
    8787                if (pgMar ==null) { 
    8888                        log.warn("No pgMar in this section; defaulting."); 
    89                         pgMar = Context.getWmlObjectFactory().createSectPrPgMar();                       
     89                        this.pgMar = Context.getWmlObjectFactory().createSectPrPgMar();                  
    9090                        setMargins(MarginsWellKnown.NORMAL); 
    9191                } else { 
Note: See TracChangeset for help on using the changeset viewer.