svn commit: r12655 - trunk/src_new/org/argouml/persistence/PGMLStackParser.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2007-05-24 10:32:48-0700
New Revision: 12655
Modified:
trunk/src_new/org/argouml/persistence/PGMLStackParser.java
Log:
Issue 4761 - temporary patch to allow tests to pass
Modified: trunk/src_new/org/argouml/persistence/PGMLStackParser.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/persistence/PGMLStackParser.java?view=diff&rev=12655&p1=trunk/src_new/org/argouml/persistence/PGMLStackParser.java&p2=trunk/src_new/org/argouml/persistence/PGMLStackParser.java&r1=12654&r2=12655
==============================================================================
--- trunk/src_new/org/argouml/persistence/PGMLStackParser.java (original)
+++ trunk/src_new/org/argouml/persistence/PGMLStackParser.java 2007-05-24 10:32:48-0700
@@ -453,7 +453,8 @@
}
@Override
- protected Fig constructFig(String className, String href, Rectangle bounds) throws SAXException {
+ protected Fig constructFig(String className, String href, Rectangle bounds)
+ throws SAXException {
Fig f = null;
@@ -462,9 +463,10 @@
} else {
f = super.constructFig(className, href, bounds);
}
- f.setBounds(bounds);
-
-
+ if (bounds != null) {
+ f.setBounds(bounds);
+ }
+
return f;
}