summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-attach-path.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-09-14 17:46:13 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-09-14 17:46:13 +0000
commitea9f5f43ee77d3b0483c583fb1ddbc3e28a77a13 (patch)
treec50cd528e7ab3006510bab0f4f624ce6906f9f4a /src/live_effects/lpe-attach-path.cpp
parentSmall cleanup (diff)
downloadinkscape-ea9f5f43ee77d3b0483c583fb1ddbc3e28a77a13.tar.gz
inkscape-ea9f5f43ee77d3b0483c583fb1ddbc3e28a77a13.zip
Warnings cleanup; formatting
(bzr r13341.1.206)
Diffstat (limited to 'src/live_effects/lpe-attach-path.cpp')
-rw-r--r--src/live_effects/lpe-attach-path.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/live_effects/lpe-attach-path.cpp b/src/live_effects/lpe-attach-path.cpp
index 2880cbc37..768c66ee2 100644
--- a/src/live_effects/lpe-attach-path.cpp
+++ b/src/live_effects/lpe-attach-path.cpp
@@ -35,15 +35,15 @@ LPEAttachPath::LPEAttachPath(LivePathEffectObject *lpeobject) :
end_path_curve_start(_("End path curve start:"), _("Starting curve"), "endcurvestart", &wr, this, Geom::Point(20,0)/*, true*/),
end_path_curve_end(_("End path curve end:"), _("Ending curve"), "endcurveend", &wr, this, Geom::Point(20,0)/*, true*/)
{
- registerParameter( dynamic_cast<Parameter *>(&start_path) );
- registerParameter( dynamic_cast<Parameter *>(&start_path_position) );
- registerParameter( dynamic_cast<Parameter *>(&start_path_curve_start) );
- registerParameter( dynamic_cast<Parameter *>(&start_path_curve_end) );
+ registerParameter(&start_path);
+ registerParameter(&start_path_position);
+ registerParameter(&start_path_curve_start);
+ registerParameter(&start_path_curve_end);
- registerParameter( dynamic_cast<Parameter *>(&end_path) );
- registerParameter( dynamic_cast<Parameter *>(&end_path_position) );
- registerParameter( dynamic_cast<Parameter *>(&end_path_curve_start) );
- registerParameter( dynamic_cast<Parameter *>(&end_path_curve_end) );
+ registerParameter(&end_path);
+ registerParameter(&end_path_position);
+ registerParameter(&end_path_curve_start);
+ registerParameter(&end_path_curve_end);
//perceived_path = true;
show_orig_path = true;
@@ -56,7 +56,7 @@ LPEAttachPath::~LPEAttachPath()
}
-void LPEAttachPath::resetDefaults(SPItem const * item)
+void LPEAttachPath::resetDefaults(SPItem const * /*item*/)
{
curve_start_previous_origin = start_path_curve_end.getOrigin();
curve_end_previous_origin = end_path_curve_end.getOrigin();