summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-12 08:50:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-12 12:48:32 +0100
commitbf8c1e277159b82362ed8f3a83d1abd0460a25c8 (patch)
treebe1d711596e92fda83214ca9631b02d4e12ff5e4 /extensions
parent8cbe779fcbcfcd722a64f98f5cef3df63d02e037 (diff)
loplugin:singlevalfields in accessibility..extensions
Change-Id: Id3a3241af83f769fc60f67e01c9129d6f4b5c2af Reviewed-on: https://gerrit.libreoffice.org/63274 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/framectr.cxx4
-rw-r--r--extensions/source/bibliography/framectr.hxx1
2 files changed, 1 insertions, 4 deletions
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<BibDataManager> m_xDatMan;
DECL_LINK( DisposeHdl, void*, void );