diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-10-06 19:39:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-07 16:43:52 +0200 |
commit | 1d4827a26a749ca704430d6aae972ee39e35ba10 (patch) | |
tree | cab6a1bf3b5d13c68560be62355fa619d48b4b22 /sc/source/ui/app | |
parent | a5a6071264d27b9dcfa47fe2f399951edd7301c2 (diff) |
use SfxItemSetFixed in sc
Change-Id: I5b1d66adb1b9e5dd0e470403ba7095183334cc66
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123182
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index b6917c58e9a9..3c47445cf566 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -349,7 +349,7 @@ void ScModule::Execute( SfxRequest& rReq ) bSet = !GetDocOptions().IsAutoSpell(); } - SfxItemSet aSet( GetPool(), svl::Items<SID_AUTOSPELL_CHECK, SID_AUTOSPELL_CHECK> ); + SfxItemSetFixed<SID_AUTOSPELL_CHECK, SID_AUTOSPELL_CHECK> aSet( GetPool() ); aSet.Put( SfxBoolItem( SID_AUTOSPELL_CHECK, bSet ) ); ModifyOptions( aSet ); rReq.Done(); |