From 9ca23ee5e776b80d1e8fcac4c3897cc0d0569bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 9 Apr 2013 10:24:32 +0100 Subject: [PATCH] make help work again This is a regression from b248624126c271c88381d3dad6e04fc954f65779 I suspect there might be more. Change-Id: I9ffbcfb8d32b0b0b4193a86eee90d0a5f481de11 --- framework/source/services/frame.cxx | 2 +- sfx2/source/appl/sfxhelp.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);