Index: applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintDialog.java
===================================================================
--- applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintDialog.java	(revision 30172)
+++ applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintDialog.java	(revision 30173)
@@ -236,5 +236,5 @@
         caption = new JLabel(" 1 :");
         add(caption, std.grid(GBC.RELATIVE, row));
-        int mapScale = (int)Main.pref.getInteger("print.map-scale", PrintPlugin.DEF_MAP_SCALE);
+        int mapScale = Main.pref.getInteger("print.map-scale", PrintPlugin.DEF_MAP_SCALE);
         mapView.setFixedMapScale(mapScale);
         scaleModel = new SpinnerNumberModel(mapScale, 500, 5000000, 500);
@@ -265,5 +265,5 @@
         add(caption, std.grid(GBC.RELATIVE, row));
         resolutionModel = new SpinnerNumberModel(
-          (int)Main.pref.getInteger("print.resolution.dpi", PrintPlugin.DEF_RESOLUTION_DPI),
+          Main.pref.getInteger("print.resolution.dpi", PrintPlugin.DEF_RESOLUTION_DPI),
           30, 1200, 10 );
         final JSpinner resolutionField = new JSpinner(resolutionModel);
Index: applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintPlugin.java
===================================================================
--- applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintPlugin.java	(revision 30172)
+++ applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintPlugin.java	(revision 30173)
@@ -28,5 +28,4 @@
 import javax.swing.KeyStroke;
 
-import org.openstreetmap.gui.jmapviewer.tilesources.AbstractOsmTileSource;
 import org.openstreetmap.josm.Main;
 import org.openstreetmap.josm.gui.MapFrame;
@@ -80,14 +79,4 @@
 
         fileMenu.insertSeparator(pos);
-
-        /* Make this plugin's preferences known */
-        Main.pref.putDefault(
-          "print.map-scale", Integer.toString(DEF_MAP_SCALE));
-        Main.pref.putDefault(
-          "print.resolution.dpi", Integer.toString(DEF_RESOLUTION_DPI));
-        Main.pref.putDefault(
-          "print.attribution", AbstractOsmTileSource.DEFAULT_OSM_ATTRIBUTION);
-        Main.pref.putDefault(
-          "print.preview.enabled", new Boolean(false).toString());
 
         restorePrefs(); // Recover after crash if necessary
@@ -175,6 +164,5 @@
     
     /**
-     * Undo temporary adjustments to the preferences made by 
-     * adjustPrefs().
+     * Undo temporary adjustments to the preferences made by adjustPrefs().
      */
     public static void restorePrefs() {
@@ -201,5 +189,3 @@
         Main.pref.put(savedKey, null);
     }
-    
 }
-
