From c87b166f1c3ba0af0656b0b634d1a444e6a316ff Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 7 Apr 2008 00:58:05 +0000 Subject: [PATCH] remove antediluvian cruft --- src/sp-rect.cpp | 15 --------------- 1 file changed, 15 deletions(-) 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 -- 2.30.2