diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-24 13:08:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-27 10:44:25 +0100 |
commit | 2e5508a17660401e1b4b489dbc9f70b978745b75 (patch) | |
tree | 881afcf9d8b9f0a653df0c94a8a2deefdf85670e /framework | |
parent | 470682b3abf0622f5e9663d62d8641f63ceb6f30 (diff) |
loplugin:unnecessaryparen check for (f1()).f2
Change-Id: I93257b0ddd41c649875124d6d5c5faeaa431bae3
Reviewed-on: https://gerrit.libreoffice.org/45218
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/fwe/helper/titlehelper.cxx | 2 | ||||
-rw-r--r-- | framework/source/helper/statusindicatorfactory.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index b6f521bfeea9..82ded83040f4 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -261,7 +261,7 @@ void TitleHelper::impl_sendTitleChangedEvent () aLock.clear (); // <- SYNCHRONIZED - if( ! (aEvent.Source).is() ) + if( ! aEvent.Source.is() ) return; ::cppu::OInterfaceContainerHelper* pContainer = m_aListener.getContainer( cppu::UnoType<css::frame::XTitleChangeListener>::get()); diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx index 2d5563d1213c..627a3b2735fe 100644 --- a/framework/source/helper/statusindicatorfactory.cxx +++ b/framework/source/helper/statusindicatorfactory.cxx @@ -152,7 +152,7 @@ void StatusIndicatorFactory::reset(const css::uno::Reference< css::task::XStatus if (pItem != m_aStack.end()) { pItem->m_nValue = 0; - (pItem->m_sText).clear(); + pItem->m_sText.clear(); } css::uno::Reference< css::task::XStatusIndicator > xActive = m_xActiveChild; |