Kaydet (Commit) d8fa15f0 authored tarafından Noel Grandin's avatar Noel Grandin

fdo#67213 - crash on opening AutoText dialog (Ctrl+F3)

I created this bug with commit
32eaa77d
"fdo#46808, Convert frame::FrameControl service to new style"

If we cannot create a css::frame::FrameControl service, just continue.

Change-Id: Iffd6952fd5153af5a1ab72af2bc55864816a750d
üst 312f3aac
......@@ -112,7 +112,14 @@ void SwOneExampleFrame::CreateControl()
uno::Reference< lang::XMultiServiceFactory >
xMgr = comphelper::getProcessServiceFactory();
uno::Reference< uno::XComponentContext > xContext = comphelper::getProcessComponentContext();
m_xFrameControl = frame::FrameControl::create(xContext);
try
{
m_xFrameControl = frame::FrameControl::create(xContext);
}
catch ( css::uno::DeploymentException& )
{
return;
}
uno::Reference< awt::XWindowPeer > xParent( aTopWindow.GetComponentInterface() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment