summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-02 17:13:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-03 09:07:54 +0100
commita0bd9fdadc02903a551f48cc1711069b33f1ab20 (patch)
tree64c52422d2ca57f460af7c44833a32236e1a96e6
parentc5401e88b46dcfe1f05edcf3e764f1588692f44e (diff)
coverity#1242449 Identical code for different branches
Change-Id: I0cffc9df6d971393ae874060a8c306e12966370c
-rw-r--r--accessibility/source/extended/AccessibleGridControlHeader.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/accessibility/source/extended/AccessibleGridControlHeader.cxx b/accessibility/source/extended/AccessibleGridControlHeader.cxx
index f114bb53c1f4..bfb5a21b627e 100644
--- a/accessibility/source/extended/AccessibleGridControlHeader.cxx
+++ b/accessibility/source/extended/AccessibleGridControlHeader.cxx
@@ -104,10 +104,7 @@ AccessibleGridControlHeader::getAccessibleAtPoint( const awt::Point& rPoint )
sal_Int32 nRow = 0;
sal_Int32 nColumnPos = 0;
- bool bConverted = isRowBar() ?
- m_aTable.ConvertPointToCellAddress( nRow, nColumnPos, VCLPoint( rPoint ) ) :
- m_aTable.ConvertPointToCellAddress( nRow, nColumnPos, VCLPoint( rPoint ) );
-
+ bool bConverted = m_aTable.ConvertPointToCellAddress(nRow, nColumnPos, VCLPoint(rPoint));
return bConverted ? implGetChild( nRow, nColumnPos ) : Reference< XAccessible >();
}