diff options
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Math.xcs | 2 | ||||
-rw-r--r-- | starmath/source/cfgitem.cxx | 8 | ||||
-rw-r--r-- | uitest/math_tests/start.py | 4 | ||||
-rw-r--r-- | uitest/math_tests/tdf147755.py | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Math.xcs b/officecfg/registry/schema/org/openoffice/Office/Math.xcs index 026f33b5e983..b7eb0f358df8 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Math.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Math.xcs @@ -301,7 +301,7 @@ <info> <desc>Enables inline (visual) editing mode.</desc> </info> - <value>true</value> + <value>false</value> </prop> <prop oor:name="IgnoreSpacesRight" oor:type="xs:boolean" oor:nillable="false"> <info> 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)) diff --git a/uitest/math_tests/start.py b/uitest/math_tests/start.py index 7504387a16f7..a2e4ba1d708c 100644 --- a/uitest/math_tests/start.py +++ b/uitest/math_tests/start.py @@ -57,11 +57,11 @@ class SimpleMathTest(UITestCase): xElement.executeAction("DOUBLECLICK", tuple()) xEditView = xMathDoc.getChild("editview") - xEditView.executeAction("TYPE", mkPropertyValues({"KEYCODE":"F4"})) + type_text(xEditView, "1") xEditView.executeAction("TYPE", mkPropertyValues({"KEYCODE":"F4"})) type_text(xEditView, "2") - self.assertEqual("{ 1 <> 2 }", get_state_as_dict(xEditView)["Text"]) + self.assertEqual("1 <> 2 ", get_state_as_dict(xEditView)["Text"]) # vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/math_tests/tdf147755.py b/uitest/math_tests/tdf147755.py index 491974787802..710bf7efa6b4 100644 --- a/uitest/math_tests/tdf147755.py +++ b/uitest/math_tests/tdf147755.py @@ -26,7 +26,7 @@ class Tdf147755(UITestCase): xEditView = xMathDoc.getChild("editview") # Without the fix in place, this test would have failed with - # AssertionError: '%arRay' != '' - self.assertEqual("%arRay", get_state_as_dict(xEditView)["Text"]) + # AssertionError: '%arRay ' != '' + self.assertEqual("%arRay ", get_state_as_dict(xEditView)["Text"]) # vim: set shiftwidth=4 softtabstop=4 expandtab: |