summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-05-27 16:12:18 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-05-27 20:56:57 +0200
commit2743839c4ac3aaaf6bafc31bebfb67254173f7ee (patch)
tree2114d8df38cab88394e325e213264b9f71ce426e /include
parent42a5f14edcea5d2fd2e92955cd70a163a1a27804 (diff)
ofz#59362 aPardMap returns 0 'Which' for SID_ATTR_BORDER_OUTER
since: commit 839c5010241842835a1c066be0838df4a8a53dc7 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>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxrtf.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index a70264381d51..33e6eaf32b11 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -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 );