diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-10-06 16:21:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-08 06:35:09 +0200 |
commit | 8167cc226960d635c9e68f603cb1ab2c57426828 (patch) | |
tree | 6de70344cf0e9fad47dbf94667fe3c83d21c6999 /editeng/source/uno | |
parent | bd7cf3915964ba80786e2ae77b33fc654fde1f31 (diff) |
use SfxItemSetFixed in editeng
Change-Id: I892a69d50f7d641f9a941a55c7b3952d1c59c435
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123144
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/uno')
-rw-r--r-- | editeng/source/uno/unofdesc.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/editeng/source/uno/unofdesc.cxx b/editeng/source/uno/unofdesc.cxx index 238bdc82320f..722ae7d7f9db 100644 --- a/editeng/source/uno/unofdesc.cxx +++ b/editeng/source/uno/unofdesc.cxx @@ -192,12 +192,10 @@ void SvxUnoFontDescriptor::setPropertyToDefault( SfxItemSet& rSet ) uno::Any SvxUnoFontDescriptor::getPropertyDefault( SfxItemPool* pPool ) { - SfxItemSet aSet( - *pPool, - svl::Items< + SfxItemSetFixed< EE_CHAR_FONTINFO, EE_CHAR_FONTHEIGHT, EE_CHAR_WEIGHT, EE_CHAR_ITALIC, - EE_CHAR_WLM, EE_CHAR_WLM>); + EE_CHAR_WLM, EE_CHAR_WLM> aSet(*pPool); uno::Any aAny; |