ofz#59362 aPardMap returns 0 'Which' for SID_ATTR_BORDER_OUTER

since:

commit 839c501024
Date:   Wed May 24 16:40:59 2023 +0200

    use more TypedWhichId in editeng

cause operato[] is just a getter now

Change-Id: I2c5cc21131dffd0e9840b65185c2491ed6183bd1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152341
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara 2023-05-27 16:12:18 +01:00
parent 42a5f14edc
commit 2743839c4a

View file

@ -212,7 +212,7 @@ public:
void SetAttrPool( SfxItemPool* pNewPool ) { pAttrPool = pNewPool; }
// to set different WhichIds for a different pool.
template<class T>
void SetPardMap(TypedWhichId<T> wid, TypedWhichId<T> widTrue) { aPardMap[wid] = widTrue; }
void SetPardMap(TypedWhichId<T> wid, TypedWhichId<T> widTrue) { aPardMap.set(wid, widTrue); }
// to be able to assign them from the outside as for example table cells
void ReadBorderAttr( int nToken, SfxItemSet& rSet, bool bTableDef=false );
void ReadBackgroundAttr( int nToken, SfxItemSet& rSet, bool bTableDef=false );