index 6ab1920956da4249b6008949733c2fd6dd74b9bc..dc59e1a9302af212f39b5c648dd9476dbee69023 100644 (file)
--- a/src/main-cmdlineact.cpp
+++ b/src/main-cmdlineact.cpp
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);