diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-20 10:34:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-21 08:32:47 +0200 |
commit | 5abc669599001bf888b97c4d3c2715e1fb7523b9 (patch) | |
tree | 2407c6fc040a795e6ffc69de02ba940285c04c7f /accessibility | |
parent | 5bb308a9ad16f6002486a60e4a753693818580b6 (diff) |
new plugin stylepolice
check for local variables which follow our member field naming
convention, which is highly confusing
Change-Id: Idacedf7145d09843e96a584237b385f7662eea10
Diffstat (limited to 'accessibility')
3 files changed, 10 insertions, 10 deletions
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:: |