Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / main-cmdlineact.cpp
index 6ab1920956da4249b6008949733c2fd6dd74b9bc..dc59e1a9302af212f39b5c648dd9476dbee69023 100644 (file)
@@ -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);