From: buliabyak Date: Mon, 7 Apr 2008 00:58:05 +0000 (+0000) Subject: remove antediluvian cruft X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c87b166f1c3ba0af0656b0b634d1a444e6a316ff;p=inkscape.git remove antediluvian cruft --- diff --git a/src/sp-rect.cpp b/src/sp-rect.cpp index 55d2a3fde..2e9befa32 100644 --- a/src/sp-rect.cpp +++ b/src/sp-rect.cpp @@ -121,21 +121,6 @@ sp_rect_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr) sp_object_read_attr(object, "height"); sp_object_read_attr(object, "rx"); sp_object_read_attr(object, "ry"); - - Inkscape::Version const version = sp_object_get_sodipodi_version(object); - - if ( version.major == 0 && version.minor == 29 ) { - if (rect->rx._set && rect->ry._set) { - /* 0.29 treated 0.0 radius as missing value */ - if ((rect->rx.value != 0.0) && (rect->ry.value == 0.0)) { - repr->setAttribute("ry", NULL); - sp_object_read_attr(object, "ry"); - } else if ((rect->ry.value != 0.0) && (rect->rx.value == 0.0)) { - repr->setAttribute("rx", NULL); - sp_object_read_attr(object, "rx"); - } - } - } } static void