From 2babe56a83613db6167a42a3284cf0f4f92a1b52 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 24 Aug 2019 20:57:08 +0100 Subject: cid#1251600 Uncaught exception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit we don't need this hunk of code for the demo anyway Change-Id: I45e30d9ae190b443d15fa0933241fb75c0fbb8b1 Reviewed-on: https://gerrit.libreoffice.org/78071 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- canvas/workben/canvasdemo.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'canvas') diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx index f94e259e0fc4..3e768f5ef118 100644 --- a/canvas/workben/canvasdemo.cxx +++ b/canvas/workben/canvasdemo.cxx @@ -624,11 +624,6 @@ int DemoApp::Main() return 1; } - // Create UCB (for backwards compatibility, in case some code still uses - // plain createInstance w/o args directly to obtain an instance): - ::ucb::UniversalContentBroker::create( - comphelper::getProcessComponentContext() ); - ScopedVclPtr aWindow = VclPtr::Create(); aWindow->Show(); -- cgit