summaryrefslogtreecommitdiffstats
path: root/src/helper/action-context.cpp
diff options
context:
space:
mode:
authorEric Greveson <eric@greveson.co.uk>2013-07-04 14:01:44 +0000
committerEric Greveson <eric@greveson.co.uk>2013-07-04 14:01:44 +0000
commit104efe4e3ecadc975ab76748c66f041abf8ee7b1 (patch)
tree01c6a23e2ee0bf43fda8eb78441a34e9dc338a3b /src/helper/action-context.cpp
parentMerge recent changes from inkscape trunk (diff)
downloadinkscape-104efe4e3ecadc975ab76748c66f041abf8ee7b1.tar.gz
inkscape-104efe4e3ecadc975ab76748c66f041abf8ee7b1.zip
Code readability improvements and licence changes for action-context.*
based on merge request code review and feedback (bzr r12387.1.7)
Diffstat (limited to 'src/helper/action-context.cpp')
-rw-r--r--src/helper/action-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/action-context.cpp b/src/helper/action-context.cpp
index f211d775d..d52e43d96 100644
--- a/src/helper/action-context.cpp
+++ b/src/helper/action-context.cpp
@@ -6,7 +6,7 @@
*
* Copyright (C) 2013 Eric Greveson
*
- * This code is in public domain
+ * Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "desktop.h"
@@ -47,7 +47,7 @@ SPDocument *ActionContext::getDocument() const
}
// Should be the same as the view's document, if view is non-NULL
- return _selection->layerModel()->getDocument();
+ return _selection->layers()->getDocument();
}
Selection *ActionContext::getSelection() const