summaryrefslogtreecommitdiffstats
path: root/src/main-cmdlineact.cpp
diff options
context:
space:
mode:
authorAndrew Higginson <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
committerAndrew <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
commit80960b623a99aae1402ab651b2974ef544ed3b03 (patch)
treeba49d42c2789e9e11f805e2d5263e10f9fedeef8 /src/main-cmdlineact.cpp
parenttry to fix bug (diff)
parentGDL: Cherry-pick upstream patch 73852 (2011-03-23) - Add missing return value. (diff)
downloadinkscape-80960b623a99aae1402ab651b2974ef544ed3b03.tar.gz
inkscape-80960b623a99aae1402ab651b2974ef544ed3b03.zip
merged with trunk so I can build again...
(bzr r10092.1.36)
Diffstat (limited to 'src/main-cmdlineact.cpp')
-rw-r--r--src/main-cmdlineact.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main-cmdlineact.cpp b/src/main-cmdlineact.cpp
index dc59e1a93..9f700292e 100644
--- a/src/main-cmdlineact.cpp
+++ b/src/main-cmdlineact.cpp
@@ -71,7 +71,7 @@ CmdLineAction::doIt (Inkscape::UI::View::View * view) {
void
CmdLineAction::doList (Inkscape::UI::View::View * view) {
for (std::list<CmdLineAction *>::iterator i = _list.begin();
- i != _list.end(); i++) {
+ i != _list.end(); ++i) {
CmdLineAction * entry = *i;
entry->doIt(view);
}
@@ -85,7 +85,7 @@ CmdLineAction::idle (void) {
// We're going to assume one desktop per document, because no one
// should have had time to make more at this point.
for (std::list<SPDesktop *>::iterator i = desktops.begin();
- i != desktops.end(); i++) {
+ i != desktops.end(); ++i) {
SPDesktop * desktop = *i;
//Inkscape::UI::View::View * view = dynamic_cast<Inkscape::UI::View::View *>(desktop);
doList(desktop);