Index: trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java	(revision 6712)
+++ trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java	(revision 6713)
@@ -528,8 +528,6 @@
         PolyData result = null;
         for (PolyData combined : outerPolygons) {
-            Intersection c = combined.contains(inner.poly);
-            if (c != Intersection.OUTSIDE)
-            {
-                if (result == null || result.contains(combined.poly) != Intersection.INSIDE) {
+            if (combined.contains(inner.poly) != Intersection.OUTSIDE) {
+                if (result == null || result.contains(combined.poly) == Intersection.INSIDE) {
                     result = combined;
                 }
