diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 44d30d03d4de..e651994879fe 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -1772,7 +1772,7 @@ void SAL_CALL Frame::setLayoutManager(const css::uno::Reference& rHelpTask , // otherwise - create new help task Reference< XFrame2 > xHelpTask( xDesktop->findFrame( "OFFICE_HELP_TASK", FrameSearchFlag::TASKS | FrameSearchFlag::CREATE), - UNO_QUERY_THROW); + UNO_QUERY); if (!xHelpTask.is()) 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 Reference< XFrame2 > xHelp( xDesktop->findFrame( "OFFICE_HELP_TASK", FrameSearchFlag::CHILDREN), - UNO_QUERY_THROW); + UNO_QUERY); Reference< XFrame > xHelpContent = xDesktop->findFrame( OUString("OFFICE_HELP"), FrameSearchFlag::CHILDREN);