Changeset 29912 in osm


Ignore:
Timestamp:
2013-09-04T19:35:00+02:00 (11 years ago)
Author:
donvip
Message:

[josm_pdfimport] fix #josm9053 - plugin broken in r29646

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/pdfbox/PageDrawer.java

    r25349 r29912  
    3030import org.apache.pdfbox.pdmodel.PDPage;
    3131import org.apache.pdfbox.pdmodel.PDResources;
    32 import org.apache.pdfbox.pdmodel.common.PDRectangle;
    3332import org.apache.pdfbox.pdmodel.graphics.PDGraphicsState;
    3433import org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation;
     
    6564        {
    6665                super( ResourceLoader.loadProperties(
    67                                 "pdfimport/pdfbox/PageDrawer.properties", true ) );
     66                                "resources/pdfimport/pdfbox/PageDrawer.properties", true ) );
    6867        }
    6968
     
    8988                }
    9089
    91                 List annotations = page.getAnnotations();
     90                List<?> annotations = page.getAnnotations();
    9291                for( int i=0; i<annotations.size(); i++ )
    9392                {
    9493                        PDAnnotation annot = (PDAnnotation)annotations.get( i );
    95                         PDRectangle rect = annot.getRectangle();
    9694                        String appearanceName = annot.getAppearanceStream();
    9795                        PDAppearanceDictionary appearDictionary = annot.getAppearance();
     
    102100                                        appearanceName = "default";
    103101                                }
    104                                 Map appearanceMap = appearDictionary.getNormalAppearance();
     102                                Map<?, ?> appearanceMap = appearDictionary.getNormalAppearance();
    105103                                if (appearanceMap != null) {
    106104                                        PDAppearanceStream appearance =
Note: See TracChangeset for help on using the changeset viewer.