|
From: <fbe...@us...> - 2013-07-26 11:58:00
|
Revision: 18268
http://sourceforge.net/p/sbml/code/18268
Author: fbergmann
Date: 2013-07-26 11:57:57 +0000 (Fri, 26 Jul 2013)
Log Message:
-----------
- while the curve of a GeneralGlyph is to be ignored by applications, we should still write it out
Modified Paths:
--------------
trunk/libsbml/src/sbml/packages/layout/sbml/GeneralGlyph.cpp
Modified: trunk/libsbml/src/sbml/packages/layout/sbml/GeneralGlyph.cpp
===================================================================
--- trunk/libsbml/src/sbml/packages/layout/sbml/GeneralGlyph.cpp 2013-07-25 16:07:38 UTC (rev 18267)
+++ trunk/libsbml/src/sbml/packages/layout/sbml/GeneralGlyph.cpp 2013-07-26 11:57:57 UTC (rev 18268)
@@ -923,29 +923,15 @@
void
GeneralGlyph::writeElements (XMLOutputStream& stream) const
{
+ GraphicalObject::writeElements(stream);
if(this->isSetCurve())
{
- SBase::writeElements(stream);
mCurve.write(stream);
- //
- // BoundingBox is to be ignored if a curve element defined.
- //
}
- else
- {
- //
- // SBase::writeElements(stream) is invoked in the function below.
- //
- GraphicalObject::writeElements(stream);
- }
-
+
if ( getNumReferenceGlyphs() > 0 ) mReferenceGlyphs.write(stream);
if ( getNumSubGlyphs() > 0 ) mSubGlyphs.write(stream);
-
- //
- // (EXTENSION)
- //
- SBase::writeExtensionElements(stream);
+
}
/** @endcond */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|