diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-01 19:14:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-02 08:31:22 +0100 |
commit | 24bcd1692cd9689f2586beebb5e4215d02fe8196 (patch) | |
tree | 017ce96ae7dab93bd22da1be00e9c4cce2e64e07 /sw/source/filter/ww8/ww8par5.cxx | |
parent | 919b923e9fe59bd83d954a53c21635317fea0de7 (diff) |
remove writerhelper::ItemGet
the TypedWhichId template methods on SwFormat supercede this
Change-Id: I7444dc1eb85fccfc9d60da4f1502ea2e2ceccdc1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130805
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/ww8par5.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par5.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 8bc9dbb75dbf..a7075b66e949 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -2768,11 +2768,11 @@ void SwWW8ImplReader::Read_SubF_Ruby( WW8ReadFieldParams& rReadParam) for(const auto& rpCharFormat : m_aRubyCharFormats) { const SvxFontHeightItem &rFH = - ItemGet<SvxFontHeightItem>(*rpCharFormat, - GetWhichOfScript(RES_CHRATR_FONTSIZE,nScript)); + rpCharFormat->GetFormatAttr( + GetWhichOfScript(RES_CHRATR_FONTSIZE,nScript)); if (rFH.GetHeight() == nFontSize*10) { - const SvxFontItem &rF = ItemGet<SvxFontItem>(*rpCharFormat, + const SvxFontItem &rF = rpCharFormat->GetFormatAttr( GetWhichOfScript(RES_CHRATR_FONT,nScript)); if (rF.GetFamilyName() == sFontName) { |