svl/source/items/rngitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f89d7692a36cc3c65a27690d7bb9e876dc4644bc Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Tue Jan 10 08:35:35 2017 +0200 fix SfxUShortRangesItem::operator== broken since commit 1416669670de6f93b40d8a2f8f001e92ec0bf101 Author: Thomas Arnhold <tho...@arnhold.org> Date: Tue Apr 2 14:21:42 2013 +0200 Revert "Revert "reduce some uglyness"" Change-Id: I41ac489e952f0356976e0a5372953d634d96e690 diff --git a/svl/source/items/rngitem.cxx b/svl/source/items/rngitem.cxx index f6f8c14..2aa9e60 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]; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits