summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/calligraphic-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tools/calligraphic-tool.cpp')
-rw-r--r--src/ui/tools/calligraphic-tool.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/tools/calligraphic-tool.cpp b/src/ui/tools/calligraphic-tool.cpp
index 15e6527a3..28195eb75 100644
--- a/src/ui/tools/calligraphic-tool.cpp
+++ b/src/ui/tools/calligraphic-tool.cpp
@@ -140,8 +140,7 @@ void CalligraphicTool::setup() {
{
/* TODO: have a look at DropperTool::setup where the same is done.. generalize? */
- Geom::PathVector path;
- Geom::Circle(0, 0, 1).getPath(path);
+ Geom::PathVector path = Geom::Path(Geom::Circle(0,0,1));
SPCurve *c = new SPCurve(path);