summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-06-06 10:42:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-06-06 20:45:52 +0200
commit0558926c2f9201a12b4c46efc36b8a4080af4d46 (patch)
tree7a13040d1aae85340ec5d9fe7e880ec8009fbab3 /sfx2
parentc9d92e3a33e5f21ac2c72c58d49eeb138cece109 (diff)
use more officecfg for SvtMiscOptions
Change-Id: I6c87025fc0997b5edbc085fc88333fe9e150eb3e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152648 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appcfg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index b001f83f01af..5576c5c5b9bd 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -112,7 +112,6 @@ void SfxApplication::GetOptions( SfxItemSet& rSet )
bool bRet = false;
const WhichRangesContainer& pRanges = rSet.GetRanges();
- SvtMiscOptions aMiscOptions;
for (auto const & pRange : pRanges)
{
@@ -122,7 +121,7 @@ void SfxApplication::GetOptions( SfxItemSet& rSet )
{
case SID_ATTR_BUTTON_BIGSIZE :
{
- if( rSet.Put( SfxBoolItem( SID_ATTR_BUTTON_BIGSIZE, aMiscOptions.AreCurrentSymbolsLarge() ) ) )
+ if( rSet.Put( SfxBoolItem( SID_ATTR_BUTTON_BIGSIZE, SvtMiscOptions::AreCurrentSymbolsLarge() ) ) )
bRet = true;
break;
}