summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-03-14 13:31:37 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-03-14 13:31:37 +0000
commitcf0c5225ad7d55c82a850970f9eea4e001f5928d (patch)
tree2ea82b23e6ea0809f93de68611e60f97d80d1b6d /src/ui/tool/path-manipulator.cpp
parentupdate to trunk (diff)
parentAdding default argument to PathManipulator::isBSpline. (diff)
downloadinkscape-cf0c5225ad7d55c82a850970f9eea4e001f5928d.tar.gz
inkscape-cf0c5225ad7d55c82a850970f9eea4e001f5928d.zip
commit Vinícius code
(bzr r11950.1.294)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index 1cc075603..f8cc58e3b 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -1206,11 +1206,7 @@ bool PathManipulator::isBSpline(bool recalculate){
if(recalculate){
BSplineSteps = this->BSplineGetSteps();
}
- bool isBSpline = false;
- if(BSplineSteps>0){
- isBSpline = true;
- }
- return isBSpline;
+ return BSplineSteps > 0;
}
// returns the corresponding strength to the position of a handler