summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-io.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-03-16 19:08:44 +0000
committerJabiertxof <jtx@jtx>2017-03-16 19:08:44 +0000
commit8330d0ef2b97c73121ead78ea9fbcec6ee01f879 (patch)
tree1b1717d1706ee6ebfecc800f2cc80430eb0450e0 /src/xml/repr-io.cpp
parentupdate to trunk (diff)
parentFix rendering when canvas rotated. General code clean-up and documentation. (diff)
downloadinkscape-8330d0ef2b97c73121ead78ea9fbcec6ee01f879.tar.gz
inkscape-8330d0ef2b97c73121ead78ea9fbcec6ee01f879.zip
Update to trunk
(bzr r13645.1.170)
Diffstat (limited to 'src/xml/repr-io.cpp')
-rw-r--r--src/xml/repr-io.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp
index 5f576d00f..ae6f238d4 100644
--- a/src/xml/repr-io.cpp
+++ b/src/xml/repr-io.cpp
@@ -1008,28 +1008,6 @@ void sp_repr_write_stream_element( Node * repr, Writer & out,
add_whitespace = false;
}
- // THIS DOESN'T APPEAR TO DO ANYTHING. Can it be commented out or deleted?
- {
- GQuark const href_key = g_quark_from_static_string("xlink:href");
- //GQuark const absref_key = g_quark_from_static_string("sodipodi:absref");
-
- gchar const *xxHref = 0;
- //gchar const *xxAbsref = 0;
- for ( List<AttributeRecord const> ai(attributes); ai; ++ai ) {
- if ( ai->key == href_key ) {
- xxHref = ai->value;
- //} else if ( ai->key == absref_key ) {
- //xxAbsref = ai->value;
- }
- }
-
- // Might add a special case for absref but no href.
- if ( old_href_base && new_href_base && xxHref ) {
- //g_message("href rebase test with [%s] and [%s]", xxHref, xxAbsref);
- //std::string newOne = rebase_href_attrs( old_href_base, new_href_base, xxHref, xxAbsref );
- }
- }
-
for ( List<AttributeRecord const> iter = rebase_href_attrs(old_href_base, new_href_base,
attributes);
iter ; ++iter )