diff options
| author | VinÃcius dos Santos Oliveira <vini.ipsmaker@gmail.com> | 2014-03-10 01:06:46 +0000 |
|---|---|---|
| committer | VinÃcius dos Santos Oliveira <vini.ipsmaker@gmail.com> | 2014-03-10 01:06:46 +0000 |
| commit | 9e33a22a12381e538c26580798934eb418f62bbf (patch) | |
| tree | cbe6faa75b6ec9c6cafeb92898d6fa403f5d1cab /src/ui/tools/freehand-base.cpp | |
| parent | update to trunk (diff) | |
| download | inkscape-9e33a22a12381e538c26580798934eb418f62bbf.tar.gz inkscape-9e33a22a12381e538c26580798934eb418f62bbf.zip | |
Shortening code through removal of variable declaration used only at one
place.
(bzr r11950.6.1)
Diffstat (limited to 'src/ui/tools/freehand-base.cpp')
| -rw-r--r-- | src/ui/tools/freehand-base.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/tools/freehand-base.cpp b/src/ui/tools/freehand-base.cpp index 40a257de9..4b7a310e3 100644 --- a/src/ui/tools/freehand-base.cpp +++ b/src/ui/tools/freehand-base.cpp @@ -501,8 +501,7 @@ void spdc_concat_colors_and_flush(FreehandBase *dc, gboolean forceclosed) we modify it when continuing through an anchor. */ if (c->is_empty()) { if(prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 1 || prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 2){ - SPDesktop *desktop = dc->desktop; - spdc_selection_modified(sp_desktop_selection(desktop), 0, dc); + spdc_selection_modified(sp_desktop_selection(dc->desktop), 0, dc); } c->unref(); return; |
