summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/tweak-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tools/tweak-tool.cpp')
-rw-r--r--src/ui/tools/tweak-tool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tools/tweak-tool.cpp b/src/ui/tools/tweak-tool.cpp
index 42e3520a0..1cb757bfd 100644
--- a/src/ui/tools/tweak-tool.cpp
+++ b/src/ui/tools/tweak-tool.cpp
@@ -616,9 +616,9 @@ sp_tweak_dilate_recursive (Inkscape::Selection *selection, SPItem *item, Geom::P
} else {
SPLPEItem *lpeitem = dynamic_cast<SPLPEItem *>(item);
if (lpeitem && lpeitem->hasPathEffectRecursive()) {
- item->getRepr()->setAttribute("inkscape:original-d", str);
+ item->setAttribute("inkscape:original-d", str);
} else {
- item->getRepr()->setAttribute("d", str);
+ item->setAttribute("d", str);
}
}
g_free(str);