diff options
Diffstat (limited to 'sfx2/source/appl/newhelp.cxx')
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 4a67b06ef6ff..c3acd7f126b6 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -2004,7 +2004,6 @@ void SfxHelpTextWindow_Impl::InitOnStartupBox() sCurrentFactory = SfxHelp::GetCurrentModuleIdentifier(); Reference< XComponentContext > xContext = ::comphelper::getProcessComponentContext(); - Reference< XInterface > xConfig; OUString sPath( PATH_OFFICE_FACTORIES ); sPath += sCurrentFactory; OUString sKey( KEY_HELP_ON_OPEN ); @@ -2394,8 +2393,7 @@ bool SfxHelpTextWindow_Impl::PreNotify( NotifyEvent& rNEvt ) Reference < XDispatch > xDisp = xFrame->queryDispatch( aURL, OUString(), 0 ); if(xDisp.is()) { - HelpStatusListener_Impl* pStateListener; - Reference<XStatusListener>xStateListener = pStateListener = + rtl::Reference<HelpStatusListener_Impl> pStateListener = new HelpStatusListener_Impl(xDisp, aURL ); FeatureStateEvent rEvent = pStateListener->GetStateEvent(); bool bCheck = false; |