From 599c7662a153b5202721118c2f802011fa1e18d8 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 5 Feb 2011 21:00:17 +0100 Subject: Remove unnecessary variable --- sw/source/core/access/accmap.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sw/source/core') diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index f8215eac6e9f..aa08282ed745 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -1926,7 +1926,6 @@ void SwAccessibleMap::InvalidateCursorPosition( const SwFrm *pFrm ) } else if( pVSh->ISA( SwFEShell ) ) { - sal_uInt16 nObjCount; const SwFEShell *pFESh = static_cast< const SwFEShell * >( pVSh ); const SwFrm *pFlyFrm = pFESh->GetCurrFlyFrm(); if( pFlyFrm ) @@ -1935,7 +1934,7 @@ void SwAccessibleMap::InvalidateCursorPosition( const SwFrm *pFrm ) "cursor is not contained in fly frame" ); aFrmOrObj = pFlyFrm; } - else if( (nObjCount = pFESh->IsObjSelected()) > 0 ) + else if( pFESh->IsObjSelected() > 0 ) { bShapeSelected = sal_True; aFrmOrObj = static_cast( 0 ); -- cgit v1.2.3