summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2024-08-22 10:57:05 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-09-03 08:50:20 +0200
commit149ca1e0a8123b8722ecb74f6f5e8e5080ce6052 (patch)
tree6bdfef3697cb1e3c6263cc647ae50d74a92a6577 /starmath
parent95d8964748ec75d3e327dc2719e41a71b256a594 (diff)
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 <heiko.tietze@documentfoundation.org> Tested-by: Jenkins (cherry picked from commit cd2eba5c698081355d51c491398119f38068bfb2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172749 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/cfgitem.cxx8
1 files changed, 4 insertions, 4 deletions
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<OUString> lcl_GetOtherPropertyNames()
return Sequence<OUString>{ 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))