Index: trunk/src/org/openstreetmap/josm/gui/MapViewState.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/MapViewState.java	(revision 12073)
+++ trunk/src/org/openstreetmap/josm/gui/MapViewState.java	(revision 12074)
@@ -231,13 +231,4 @@
 
     /**
-     * Gets the center of the view, rounded to a pixel coordinate
-     * @return The center position.
-     * @since 10856
-     */
-    public MapViewPoint getCenterAtPixel() {
-        return getForView(viewWidth / 2, viewHeight / 2);
-    }
-
-    /**
      * Gets the width of the view on the Screen;
      * @return The width of the view component in screen pixel.
Index: trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java	(revision 12073)
+++ trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java	(revision 12074)
@@ -297,5 +297,5 @@
      */
     public void zoomIn() {
-        zoomTo(state.getCenterAtPixel().getEastNorth(), scaleZoomIn());
+        zoomTo(state.getCenter().getEastNorth(), scaleZoomIn());
     }
 
@@ -304,5 +304,5 @@
      */
     public void zoomOut() {
-        zoomTo(state.getCenterAtPixel().getEastNorth(), scaleZoomOut());
+        zoomTo(state.getCenter().getEastNorth(), scaleZoomOut());
     }
 
@@ -401,5 +401,5 @@
      */
     public EastNorth getCenter() {
-        return state.getCenterAtPixel().getEastNorth();
+        return state.getCenter().getEastNorth();
     }
 
