summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/eraser-tool.cpp
diff options
context:
space:
mode:
authorAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-07-20 11:45:05 +0000
committerAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-07-20 11:45:05 +0000
commita227e8d45e7eaa6bf25d8ab65fbd404bc4597306 (patch)
treebc6b6ed4676395fe66dca0e0b9af79f76fb7434c /src/ui/tools/eraser-tool.cpp
parentMerged trunk (diff)
downloadinkscape-a227e8d45e7eaa6bf25d8ab65fbd404bc4597306.tar.gz
inkscape-a227e8d45e7eaa6bf25d8ab65fbd404bc4597306.zip
Changed signatures of boolean functions
(bzr r14954.1.24)
Diffstat (limited to 'src/ui/tools/eraser-tool.cpp')
-rw-r--r--src/ui/tools/eraser-tool.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/tools/eraser-tool.cpp b/src/ui/tools/eraser-tool.cpp
index 534123e90..8ed75fbdb 100644
--- a/src/ui/tools/eraser-tool.cpp
+++ b/src/ui/tools/eraser-tool.cpp
@@ -718,7 +718,7 @@ void EraserTool::set_to_accumulated() {
Inkscape::GC::release(dup); // parent takes over
selection->set(dup);
if (!this->nowidth) {
- sp_selected_path_union_skip_undo(selection, desktop);
+ sp_selected_path_union_skip_undo(selection);
}
selection->add(item);
if(item->style->fill_rule.value == SP_WIND_RULE_EVENODD){
@@ -729,9 +729,9 @@ void EraserTool::set_to_accumulated() {
css = 0;
}
if (this->nowidth) {
- sp_selected_path_cut_skip_undo(selection, desktop);
+ sp_selected_path_cut_skip_undo(selection);
} else {
- sp_selected_path_diff_skip_undo(selection, desktop);
+ sp_selected_path_diff_skip_undo(selection);
}
workDone = true; // TODO set this only if something was cut.
bool break_apart = prefs->getBool("/tools/eraser/break_apart", false);