From 149ca1e0a8123b8722ecb74f6f5e8e5080ce6052 Mon Sep 17 00:00:00 2001 From: Heiko Tietze Date: Thu, 22 Aug 2024 10:57:05 +0200 Subject: Related tdf#160226 - Math inline editing Off by default Introduced per I63672c054d1ead269863079e7f9c118a44b3ba19 Ib2ca942c537e466f6ff100be7f95adaead99f1d5 Change-Id: Iff2bd250c004e57800c84287483965ec3ae49187 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172241 Reviewed-by: Heiko Tietze Tested-by: Jenkins (cherry picked from commit cd2eba5c698081355d51c491398119f38068bfb2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172749 Reviewed-by: Xisco Fauli --- starmath/source/cfgitem.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'starmath') diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx index d8805f44dfd0..8986702fee92 100644 --- a/starmath/source/cfgitem.cxx +++ b/starmath/source/cfgitem.cxx @@ -72,8 +72,8 @@ static Sequence lcl_GetOtherPropertyNames() return Sequence{ u"LoadSave/IsSaveOnlyUsedSymbols"_ustr, u"Misc/AutoCloseBrackets"_ustr, u"Misc/DefaultSmSyntaxVersion"_ustr, - u"Misc/IgnoreSpacesRight"_ustr, u"Misc/InlineEditEnable"_ustr, + u"Misc/IgnoreSpacesRight"_ustr, u"Misc/SmEditWindowZoomFactor"_ustr, u"Print/FormulaText"_ustr, u"Print/Frame"_ustr, @@ -168,7 +168,7 @@ SmCfgOther::SmCfgOther() , bPrintFrame(true) , bIsSaveOnlyUsedSymbols(true) , bIsAutoCloseBrackets(true) - , bInlineEditEnable(true) + , bInlineEditEnable(false) , bIgnoreSpacesRight(true) , bToolboxVisible(true) , bAutoRedraw(true) @@ -1424,8 +1424,8 @@ void SmMathConfig::ItemSetToConfig(const SfxItemSet &rSet) { bVal = pRedrawItem->GetValue(); SetAutoRedraw( bVal ); } - if (const SfxBoolItem* pSpacesItem = rSet.GetItemIfSet(SID_INLINE_EDIT_ENABLE)) - { bVal = pSpacesItem->GetValue(); + if (const SfxBoolItem* pInlineEditItem = rSet.GetItemIfSet(SID_INLINE_EDIT_ENABLE)) + { bVal = pInlineEditItem->GetValue(); SetInlineEditEnable( bVal ); } if (const SfxBoolItem* pSpacesItem = rSet.GetItemIfSet(SID_NO_RIGHT_SPACES)) -- cgit