make help work again
This is a regression from b248624126
I suspect
there might be more.
Change-Id: I9ffbcfb8d32b0b0b4193a86eee90d0a5f481de11
This commit is contained in:
@@ -1772,7 +1772,7 @@ void SAL_CALL Frame::setLayoutManager(const css::uno::Reference<css::uno::XInter
|
|||||||
|
|
||||||
/* SAFE { */
|
/* SAFE { */
|
||||||
WriteGuard aWriteLock( m_aLock );
|
WriteGuard aWriteLock( m_aLock );
|
||||||
m_xLayoutManager.set(p1, css::uno::UNO_QUERY_THROW);
|
m_xLayoutManager.set(p1, css::uno::UNO_QUERY);
|
||||||
aWriteLock.unlock();
|
aWriteLock.unlock();
|
||||||
/* } SAFE */
|
/* } SAFE */
|
||||||
}
|
}
|
||||||
|
@@ -534,7 +534,7 @@ SfxHelpWindow_Impl* impl_createHelp(Reference< XFrame2 >& rHelpTask ,
|
|||||||
// otherwise - create new help task
|
// otherwise - create new help task
|
||||||
Reference< XFrame2 > xHelpTask(
|
Reference< XFrame2 > xHelpTask(
|
||||||
xDesktop->findFrame( "OFFICE_HELP_TASK", FrameSearchFlag::TASKS | FrameSearchFlag::CREATE),
|
xDesktop->findFrame( "OFFICE_HELP_TASK", FrameSearchFlag::TASKS | FrameSearchFlag::CREATE),
|
||||||
UNO_QUERY_THROW);
|
UNO_QUERY);
|
||||||
if (!xHelpTask.is())
|
if (!xHelpTask.is())
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
@@ -755,7 +755,7 @@ sal_Bool SfxHelp::Start_Impl(const OUString& rURL, const Window* pWindow, const
|
|||||||
// search must be done here; search one desktop level could return an arbitraty frame
|
// search must be done here; search one desktop level could return an arbitraty frame
|
||||||
Reference< XFrame2 > xHelp(
|
Reference< XFrame2 > xHelp(
|
||||||
xDesktop->findFrame( "OFFICE_HELP_TASK", FrameSearchFlag::CHILDREN),
|
xDesktop->findFrame( "OFFICE_HELP_TASK", FrameSearchFlag::CHILDREN),
|
||||||
UNO_QUERY_THROW);
|
UNO_QUERY);
|
||||||
Reference< XFrame > xHelpContent = xDesktop->findFrame(
|
Reference< XFrame > xHelpContent = xDesktop->findFrame(
|
||||||
OUString("OFFICE_HELP"),
|
OUString("OFFICE_HELP"),
|
||||||
FrameSearchFlag::CHILDREN);
|
FrameSearchFlag::CHILDREN);
|
||||||
|
Reference in New Issue
Block a user