xmlgraphics-batik-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r487723 - /xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java
Date Sat, 16 Dec 2006 00:02:45 GMT
Author: cam
Date: Fri Dec 15 16:02:44 2006
New Revision: 487723

URL: http://svn.apache.org/viewvc?view=rev&rev=487723
Log:
1. Fixed bug where mousing over 'a' elements would result in exceptions.

Modified:
    xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java

Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java?view=diff&rev=487723&r1=487722&r2=487723
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/bridge/SVGAElementBridge.java Fri Dec
15 16:02:44 2006
@@ -147,7 +147,7 @@
         }
 
         public void handleEvent(Event evt) {
-            if (evt.getDefaultPrevented()) {
+            if (((AbstractEvent) evt).getDefaultPrevented()) {
                 return;
             }
             SVGAElement elt = (SVGAElement)evt.getCurrentTarget();
@@ -170,7 +170,7 @@
         }
 
         public void handleEvent(Event evt) {
-            if (evt.getDefaultPrevented()) {
+            if (((AbstractEvent) evt).getDefaultPrevented()) {
                 return;
             }
             //
@@ -222,7 +222,7 @@
         }
 
         public void handleEvent(Event evt) {
-            if (evt.getDefaultPrevented()) {
+            if (((AbstractEvent) evt).getDefaultPrevented()) {
                 return;
             }
             // No need to set the cursor on out events: this is taken care of



Mime
View raw message