summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/access/accmap.cxx3
1 files changed, 1 insertions, 2 deletions
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<const SwFrm *>( 0 );