summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-08-24 20:57:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-08-25 11:29:26 +0200
commit2babe56a83613db6167a42a3284cf0f4f92a1b52 (patch)
tree0bef97c4320e0ab06f9c4fa9941b2b93c702b593 /canvas
parent78d3041776d02b9a816414a899b350f27f3a699f (diff)
cid#1251600 Uncaught exception
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 <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/workben/canvasdemo.cxx5
1 files changed, 0 insertions, 5 deletions
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<TestWindow> aWindow = VclPtr<TestWindow>::Create();
aWindow->Show();