summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbarows.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbarows.cxx')
-rw-r--r--sw/source/ui/vba/vbarows.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbarows.cxx b/sw/source/ui/vba/vbarows.cxx
index 9f728d6068b1..b87d19ed0196 100644
--- a/sw/source/ui/vba/vbarows.cxx
+++ b/sw/source/ui/vba/vbarows.cxx
@@ -319,7 +319,7 @@ void SAL_CALL SwVbaRows::Select( ) throw (uno::RuntimeException)
uno::Any SAL_CALL SwVbaRows::Item( const uno::Any& Index1, const uno::Any& /*not processed in this base class*/ ) throw (uno::RuntimeException)
{
sal_Int32 nIndex = 0;
- if( ( Index1 >>= nIndex ) == sal_True )
+ if( ( Index1 >>= nIndex ) )
{
if( nIndex <= 0 || nIndex > getCount() )
{