diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-09 10:27:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 10:07:10 +0200 |
commit | 2757ee9fe610e253e4ccc37423fa420004d0f388 (patch) | |
tree | a5a505f12a1c17cfab2001c2cbf43bd721633f0f /svx | |
parent | ee2bd1ee97194f4d39d4d6ab95c9b926b5077cb8 (diff) |
used std::map in SfxItemSet
instead of naked array
SfxItemIter ended up needing to take copies of stuff because various
code likes to iterate over the items and delete items inside the loop.
The gdb pretty printer is no longer quite as pretty as it was before,
but it still prints useful info.
Change-Id: I59b07ea42f6b1c74798a15402970b9dbd8233dbe
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index a7f025d1c11d..630b111edf02 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -194,7 +194,7 @@ void SearchAttrItemList::Put( const SfxItemSet& rSet ) // only test that it is available? if( IsInvalidItem( pItem ) ) { - nWhich = rSet.GetWhichByPos( aIter.GetCurPos() ); + nWhich = aIter.GetCurWhich(); aItem.pItem = const_cast<SfxPoolItem*>(pItem); } else |