summaryrefslogtreecommitdiffstats
path: root/src/main-cmdlineact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main-cmdlineact.cpp')
-rw-r--r--src/main-cmdlineact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main-cmdlineact.cpp b/src/main-cmdlineact.cpp
index 6ab192095..dc59e1a93 100644
--- a/src/main-cmdlineact.cpp
+++ b/src/main-cmdlineact.cpp
@@ -55,7 +55,7 @@ CmdLineAction::doIt (Inkscape::UI::View::View * view) {
SPDesktop * desktop = dynamic_cast<SPDesktop *>(view);
if (desktop == NULL) { return; }
- Document * doc = view->doc();
+ SPDocument * doc = view->doc();
SPObject * obj = doc->getObjectById(_arg);
if (obj == NULL) {
printf(_("Unable to find node ID: '%s'\n"), _arg);