diff options
Diffstat (limited to 'sd/source/ui/view/GraphicViewShellBase.cxx')
-rw-r--r-- | sd/source/ui/view/GraphicViewShellBase.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/view/GraphicViewShellBase.cxx b/sd/source/ui/view/GraphicViewShellBase.cxx index d58c8a0d2479..573c9fc2a058 100644 --- a/sd/source/ui/view/GraphicViewShellBase.cxx +++ b/sd/source/ui/view/GraphicViewShellBase.cxx @@ -20,6 +20,7 @@ #include <GraphicViewShellBase.hxx> #include <GraphicDocShell.hxx> +#include <DrawController.hxx> #include <app.hrc> #include <framework/DrawModule.hxx> #include <framework/FrameworkHelper.hxx> @@ -84,7 +85,7 @@ void GraphicViewShellBase::Execute(SfxRequest& rRequest) void GraphicViewShellBase::InitializeFramework() { - css::uno::Reference<css::frame::XController> xController(GetController()); + rtl::Reference<sd::DrawController> xController(&GetDrawController()); sd::framework::DrawModule::Initialize(xController); } |