From f89d7692a36cc3c65a27690d7bb9e876dc4644bc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 10 Jan 2017 08:35:35 +0200 Subject: fix SfxUShortRangesItem::operator== broken since commit 1416669670de6f93b40d8a2f8f001e92ec0bf101 Author: Thomas Arnhold Date: Tue Apr 2 14:21:42 2013 +0200 Revert "Revert "reduce some uglyness"" Change-Id: I41ac489e952f0356976e0a5372953d634d96e690 --- svl/source/items/rngitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl') 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]; -- cgit