From 5abc669599001bf888b97c4d3c2715e1fb7523b9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 20 Apr 2016 10:34:01 +0200 Subject: new plugin stylepolice check for local variables which follow our member field naming convention, which is highly confusing Change-Id: Idacedf7145d09843e96a584237b385f7662eea10 --- accessibility/source/extended/accessibleiconchoicectrlentry.cxx | 6 +++--- accessibility/source/extended/accessiblelistboxentry.cxx | 6 +++--- accessibility/source/extended/textwindowaccessibility.cxx | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'accessibility') diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx index 11da75d3c357..1a3c24c322f8 100644 --- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx +++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx @@ -138,11 +138,11 @@ throw(RuntimeException, std::exception) bool AccessibleIconChoiceCtrlEntry::IsShowing_Impl() const { bool bShowing = false; - Reference< XAccessibleContext > m_xParentContext = + Reference< XAccessibleContext > xParentContext = m_xParent.is() ? m_xParent->getAccessibleContext() : Reference< XAccessibleContext >(); - if( m_xParentContext.is() ) + if( xParentContext.is() ) { - Reference< XAccessibleComponent > xParentComp( m_xParentContext, uno::UNO_QUERY ); + Reference< XAccessibleComponent > xParentComp( xParentContext, uno::UNO_QUERY ); if( xParentComp.is() ) bShowing = GetBoundingBox_Impl().IsOver( VCLRectangle( xParentComp->getBounds() ) ); } diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index 7efc72ed9ec8..9abe4c779ff4 100644 --- a/accessibility/source/extended/accessiblelistboxentry.cxx +++ b/accessibility/source/extended/accessiblelistboxentry.cxx @@ -151,11 +151,11 @@ namespace accessibility Reference< XAccessible > xParent = implGetParentAccessible( ); bool bShowing = false; - Reference< XAccessibleContext > m_xParentContext = + Reference< XAccessibleContext > xParentContext = xParent.is() ? xParent->getAccessibleContext() : Reference< XAccessibleContext >(); - if( m_xParentContext.is() ) + if( xParentContext.is() ) { - Reference< XAccessibleComponent > xParentComp( m_xParentContext, uno::UNO_QUERY ); + Reference< XAccessibleComponent > xParentComp( xParentContext, uno::UNO_QUERY ); if( xParentComp.is() ) bShowing = GetBoundingBox_Impl().IsOver( VCLRectangle( xParentComp->getBounds() ) ); } diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index 20b269fcc3ea..33454e83d6ab 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -1664,8 +1664,8 @@ IMPL_LINK_TYPED(Document, WindowEventHandler, ::VclWindowEvent&, rEvent, void) bool bEmpty = m_aFocused == m_aVisibleEnd && count == 1; if ((m_aFocused >= m_aVisibleBegin && m_aFocused < m_aVisibleEnd) || bEmpty) { - Paragraphs::iterator m_aTemp = bEmpty ? m_aVisibleBegin : m_aFocused; - ::rtl::Reference< Paragraph > xParagraph(getParagraph(m_aTemp)); + Paragraphs::iterator aTemp = bEmpty ? m_aVisibleBegin : m_aFocused; + ::rtl::Reference< Paragraph > xParagraph(getParagraph(aTemp)); if (xParagraph.is()) { xParagraph->notifyEvent( @@ -1701,8 +1701,8 @@ IMPL_LINK_TYPED(Document, WindowEventHandler, ::VclWindowEvent&, rEvent, void) bool bEmpty = m_aFocused == m_aVisibleEnd && count == 1; if ((m_aFocused >= m_aVisibleBegin && m_aFocused < m_aVisibleEnd) || bEmpty) { - Paragraphs::iterator m_aTemp = bEmpty ? m_aVisibleBegin : m_aFocused; - ::rtl::Reference< Paragraph > xParagraph(getParagraph(m_aTemp)); + Paragraphs::iterator aTemp = bEmpty ? m_aVisibleBegin : m_aFocused; + ::rtl::Reference< Paragraph > xParagraph(getParagraph(aTemp)); if (xParagraph.is()) xParagraph->notifyEvent( css::accessibility::AccessibleEventId:: -- cgit v1.2.3