summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/rngitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/rngitem.cxx b/svl/source/items/rngitem.cxx
index f6f8c143b44c..2aa9e609bffb 100644
--- a/svl/source/items/rngitem.cxx
+++ b/svl/source/items/rngitem.cxx
@@ -132,7 +132,7 @@ bool SfxUShortRangesItem::operator==( const SfxPoolItem &rItem ) const
sal_uInt16 n;
for ( n = 0; _pRanges[n] && rOther._pRanges[n]; ++n )
- if ( *_pRanges != rOther._pRanges[n] )
+ if ( _pRanges[n] != rOther._pRanges[n] )
return false;
return !_pRanges[n] && !rOther._pRanges[n];