From bf8c1e277159b82362ed8f3a83d1abd0460a25c8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 12 Nov 2018 08:50:53 +0200 Subject: loplugin:singlevalfields in accessibility..extensions Change-Id: Id3a3241af83f769fc60f67e01c9129d6f4b5c2af Reviewed-on: https://gerrit.libreoffice.org/63274 Tested-by: Jenkins Reviewed-by: Noel Grandin --- extensions/source/bibliography/framectr.cxx | 4 +--- extensions/source/bibliography/framectr.hxx | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'extensions') diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 66fa470ca631..9be3dc455439 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -153,7 +153,6 @@ BibFrameController_Impl::BibFrameController_Impl( const uno::Reference< awt::XWi ,m_xDatMan( pDataManager ) { bDisposing=false; - bHierarchical=true; mxImpl = new BibFrameCtrl_Impl; mxImpl->pController = this; } @@ -617,8 +616,7 @@ void BibFrameController_Impl::addStatusListener( else if ( aURL.Path == "Bib/hierarchical" ) { aEvent.IsEnabled = true; - const char* pHier = bHierarchical? "" : "*" ; - aEvent.State <<= OUString::createFromAscii(pHier); + aEvent.State <<= OUString(); } else if(aURL.Path == "Bib/MenuFilter") { diff --git a/extensions/source/bibliography/framectr.hxx b/extensions/source/bibliography/framectr.hxx index 524eb8ed0317..8b6209c1d98b 100644 --- a/extensions/source/bibliography/framectr.hxx +++ b/extensions/source/bibliography/framectr.hxx @@ -65,7 +65,6 @@ friend class BibFrameCtrl_Impl; css::uno::Reference< css::awt::XWindow > xWindow; css::uno::Reference< css::frame::XFrame > xFrame; bool bDisposing; - bool bHierarchical; rtl::Reference m_xDatMan; DECL_LINK( DisposeHdl, void*, void ); -- cgit