summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/SpellDialog.cxx2
-rw-r--r--cui/uiconfig/ui/spellingdialog.ui6
-rw-r--r--sc/qa/uitest/calc_tests8/tdf125051.py2
-rw-r--r--sw/qa/uitest/writer_tests4/spellDialog.py2
4 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index dd017cf3de15..0b2e1ad3c6df 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -190,7 +190,7 @@ SpellDialog::SpellDialog(SpellDialogChildWindow* pChildWindow,
, m_xUndoPB(m_xBuilder->weld_button(u"undo"_ustr))
, m_xClosePB(m_xBuilder->weld_button(u"close"_ustr))
, m_xToolbar(m_xBuilder->weld_toolbar(u"toolbar"_ustr))
- , m_xSentenceEDWeld(new weld::CustomWeld(*m_xBuilder, u"sentence"_ustr, *m_xSentenceED))
+ , m_xSentenceEDWeld(new weld::CustomWeld(*m_xBuilder, u"errorsentence"_ustr, *m_xSentenceED))
{
m_xSentenceED->SetSpellDialog(this);
m_xSentenceED->Init(m_xToolbar.get());
diff --git a/cui/uiconfig/ui/spellingdialog.ui b/cui/uiconfig/ui/spellingdialog.ui
index 9aa0ae3145e7..80103891ba71 100644
--- a/cui/uiconfig/ui/spellingdialog.ui
+++ b/cui/uiconfig/ui/spellingdialog.ui
@@ -165,12 +165,12 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
- <object class="GtkDrawingArea" id="sentence">
+ <object class="GtkDrawingArea" id="errorsentence">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="events">GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK</property>
<child internal-child="accessible">
- <object class="AtkObject" id="sentence-atkobject">
+ <object class="AtkObject" id="errorsentence-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="spellingdialog|extended_tip|sentence">Displays the sentence with the misspelled word highlighted. Edit the word or the sentence, or click one of the suggestions in the text box below.</property>
</object>
</child>
@@ -275,7 +275,7 @@
<property name="hexpand">True</property>
<property name="label" translatable="yes" context="spellingdialog|notindictft">_Not in Dictionary</property>
<property name="use-underline">True</property>
- <property name="mnemonic-widget">sentence</property>
+ <property name="mnemonic-widget">errorsentence</property>
<property name="xalign">0</property>
</object>
<packing>
diff --git a/sc/qa/uitest/calc_tests8/tdf125051.py b/sc/qa/uitest/calc_tests8/tdf125051.py
index c099e2e3d368..abf9836e97f9 100644
--- a/sc/qa/uitest/calc_tests8/tdf125051.py
+++ b/sc/qa/uitest/calc_tests8/tdf125051.py
@@ -23,7 +23,7 @@ class tdf125051(UITestCase):
enter_text_to_cell(gridwin, "A1", "teext")
gridwin.executeAction("SELECT", mkPropertyValues({"CELL": "A1"}))
with self.ui_test.execute_dialog_through_command(".uno:SpellDialog", close_button="close") as xDialog:
- xSentence = xDialog.getChild("sentence")
+ xSentence = xDialog.getChild("errorsentence")
self.assertEqual("teext", get_state_as_dict(xSentence)['Text'])
xLanguagelb = xDialog.getChild("languagelb")
diff --git a/sw/qa/uitest/writer_tests4/spellDialog.py b/sw/qa/uitest/writer_tests4/spellDialog.py
index 17898c4dc5b7..c01e78e10593 100644
--- a/sw/qa/uitest/writer_tests4/spellDialog.py
+++ b/sw/qa/uitest/writer_tests4/spellDialog.py
@@ -189,7 +189,7 @@ frog, dogg, catt"""
with self.ui_test.load_file(get_url_for_data_file("tdf157992.odt")) as document:
with self.ui_test.execute_modeless_dialog_through_command(".uno:SpellingAndGrammarDialog", close_button="") as xDialog:
- sentence = xDialog.getChild('sentence')
+ sentence = xDialog.getChild('errorsentence')
sentence.executeAction('TYPE', mkPropertyValues({'KEYCODE':'RIGHT'}))
sentence.executeAction('TYPE', mkPropertyValues({'KEYCODE':'DELETE'}))
sentence.executeAction('TYPE', mkPropertyValues({'KEYCODE':'DELETE'}))