From fd60130e74661e020e46d954a56c63b4725c8f82 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 30 Oct 2007 19:29:49 +0000 Subject: r16893@shi: ted | 2007-10-30 07:31:04 -0700 Wow, that wasn't as hard as I thought it would be. Changing away from SPDocument. Sounded like a good idea, but we need to be able to get selections in the document cache. (bzr r3979) --- src/extension/effect.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/extension/effect.cpp') diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index f7caf125d..2c1c832ae 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -219,8 +219,7 @@ Effect::prefs (Inkscape::UI::View::View * doc) sigc::signal * changeSignal = new sigc::signal; Gtk::Widget * controls; - SPDesktop * spdesktop = (SPDesktop *)doc; - Implementation::ImplementationDocumentCache * docCache = imp->newDocCache(this, spdesktop->doc()); + Implementation::ImplementationDocumentCache * docCache = imp->newDocCache(this, doc); controls = imp->prefs_effect(this, doc, changeSignal, docCache); ExecutionEnv executionEnv(this, doc, controls, changeSignal, NULL, docCache); -- cgit v1.2.3