From 51c2905fd3e99955db2d823b79abb763d8097028 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Thu, 6 Aug 2009 14:17:17 +0000 Subject: Revert recent refactoring changes by johnce because they break the build, which cannot be fixed easily. (bzr r8422) --- src/main-cmdlineact.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main-cmdlineact.cpp') 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(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); -- cgit v1.2.3