summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/text-tool.cpp
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-09-20 10:07:36 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-09-29 22:44:33 +0000
commit2ad8964857e5424350edb50dce1e0ce09d3e6c55 (patch)
tree3a600f153724bfa4a2c1e852a1e69d792fceee06 /src/ui/tools/text-tool.cpp
parentFixes pointed by Thomas (diff)
downloadinkscape-2ad8964857e5424350edb50dce1e0ce09d3e6c55.tar.gz
inkscape-2ad8964857e5424350edb50dce1e0ce09d3e6c55.zip
Remove unused code
Diffstat (limited to 'src/ui/tools/text-tool.cpp')
-rw-r--r--src/ui/tools/text-tool.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ui/tools/text-tool.cpp b/src/ui/tools/text-tool.cpp
index 24fdaee62..49df71a4d 100644
--- a/src/ui/tools/text-tool.cpp
+++ b/src/ui/tools/text-tool.cpp
@@ -1430,12 +1430,6 @@ SPCSSAttr *sp_text_get_style_at_cursor(ToolBase const *ec)
/* static bool css_attrs_are_equal(SPCSSAttr const *first, SPCSSAttr const *second)
{
- if (!first && !second) {
- return true;
- }
- if (!first || !second) {
- return false;
- }
Inkscape::Util::List<Inkscape::XML::AttributeRecord const> attrs = first->attributeList();
for ( ; attrs ; attrs++) {
gchar const *other_attr = second->attribute(g_quark_to_string(attrs->key));