diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-10 08:35:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-10 10:33:01 +0200 |
commit | f89d7692a36cc3c65a27690d7bb9e876dc4644bc (patch) | |
tree | 7c5e81a67d70b8f65d4286cb5f7308bd43fa3ae6 /svl | |
parent | ea56ac812f254a62c1ad4d2fe4651c07269b40ba (diff) |
fix SfxUShortRangesItem::operator==
broken since
commit 1416669670de6f93b40d8a2f8f001e92ec0bf101
Author: Thomas Arnhold <thomas@arnhold.org>
Date: Tue Apr 2 14:21:42 2013 +0200
Revert "Revert "reduce some uglyness""
Change-Id: I41ac489e952f0356976e0a5372953d634d96e690
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/rngitem.cxx | 2 |
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]; |