diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-05 21:00:17 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-06 17:38:16 +0100 |
commit | 599c7662a153b5202721118c2f802011fa1e18d8 (patch) | |
tree | 61452396af8f4bb0eafb5a06bbb487a6867e2d5f /sw/source/core | |
parent | 144cfaf12d5e17b8212ec0f2e7dff54c7fe9f453 (diff) |
Remove unnecessary variable
Diffstat (limited to 'sw/source/core')
-rw-r--r-- | sw/source/core/access/accmap.cxx | 3 |
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 ); |