[Libreoffice-commits] core.git: sc/source sc/uiconfig

Markus Mohrhard markus.mohrhard at googlemail.com
Sun Jul 8 22:43:06 UTC 2018


 sc/source/ui/dbgui/validate.cxx           |    2 +-
 sc/uiconfig/scalc/ui/erroralerttabpage.ui |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c3c2ca43686b8cf63e60f783b81cb353d91973fa
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Jul 8 23:06:34 2018 +0200

    rename UI element to prevent duplicate IDs in same dialog
    
    Small improvement for the UI testing.
    
    Change-Id: I49fa6a7566a492930532719271b6c83005bc85a8
    Reviewed-on: https://gerrit.libreoffice.org/57163
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx
index fe6bd005f669..688ebe5b7043 100644
--- a/sc/source/ui/dbgui/validate.cxx
+++ b/sc/source/ui/dbgui/validate.cxx
@@ -767,7 +767,7 @@ ScTPValidationError::ScTPValidationError( vcl::Window*           pParent,
     get(m_pTsbShow,"tsbshow");
     get(m_pLbAction,"actionCB");
     get(m_pBtnSearch,"browseBtn");
-    get(m_pEdtTitle,"title");
+    get(m_pEdtTitle,"erroralert_title");
     get(m_pFtError,"errormsg_label");
     get(m_pEdError,"errorMsg");
     m_pEdError->set_height_request(m_pEdError->GetTextHeight() * 12);
diff --git a/sc/uiconfig/scalc/ui/erroralerttabpage.ui b/sc/uiconfig/scalc/ui/erroralerttabpage.ui
index 0abfaa75340a..ef8f9bc8191d 100644
--- a/sc/uiconfig/scalc/ui/erroralerttabpage.ui
+++ b/sc/uiconfig/scalc/ui/erroralerttabpage.ui
@@ -75,7 +75,7 @@
                     <property name="yalign">0</property>
                     <property name="label" translatable="yes" context="erroralerttabpage|title_label">_Title:</property>
                     <property name="use_underline">True</property>
-                    <property name="mnemonic_widget">title</property>
+                    <property name="mnemonic_widget">erroralert_title</property>
                   </object>
                   <packing>
                     <property name="left_attach">0</property>
@@ -106,7 +106,7 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkEntry" id="title">
+                  <object class="GtkEntry" id="erroralert_title">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                   </object>


More information about the Libreoffice-commits mailing list