summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-25 19:16:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-26 11:18:07 +0200
commit2d6dff8d9837c66d5961ea74921306110b9d747b (patch)
tree1f567253ed3f4169d3a5eecb424952d05b03a9d4 /editeng
parentd1b0dbcbd7016fea59b4a509d95045f643b9eeec (diff)
use more TypedWhichId
Change-Id: Icc1cbd2717034c87bdaea1b62253b001243c6652 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152290 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/rtf/rtfitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index e7e798df978b..bf6b002f971e 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -560,7 +560,7 @@ SET_FONTALIGNMENT:
break;
case RTF_EXPND:
- if (const sal_uInt16 wid = aPlainMap[SID_ATTR_CHAR_KERNING])
+ if (TypedWhichId<SvxKerningItem> wid = aPlainMap[SID_ATTR_CHAR_KERNING])
{
if( -1 == nTokenValue )
nTokenValue = 0;
@@ -586,7 +586,7 @@ SET_FONTALIGNMENT:
break;
case RTF_EXPNDTW:
- if (const sal_uInt16 wid = aPlainMap[SID_ATTR_CHAR_KERNING])
+ if (TypedWhichId<SvxKerningItem> wid = aPlainMap[SID_ATTR_CHAR_KERNING])
{
if( -1 == nTokenValue )
nTokenValue = 0;