[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sd/source

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 22 15:53:18 UTC 2019


 sd/source/ui/sidebar/LayoutMenu.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7e43a5376647723071e7d212fc90f2caacde439f
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Sun Oct 20 09:50:48 2019 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Tue Oct 22 17:52:36 2019 +0200

    sd: sidebar: force to set the id of the LayoutMenu control
    
    Otherwise, the function std::unique_ptr<UIObject>
    WindowUIObject::get_child(const OUString& rID)
    will not find the control with the rID.
    
    Change-Id: Ie571eb351bb0c59654f577cef1961247273d7608
    Reviewed-on: https://gerrit.libreoffice.org/81166
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Henry Castro <hcastro at collabora.com>

diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx
index c336dcd1cfaa..02957cd56f88 100644
--- a/sd/source/ui/sidebar/LayoutMenu.cxx
+++ b/sd/source/ui/sidebar/LayoutMenu.cxx
@@ -135,6 +135,7 @@ LayoutMenu::LayoutMenu (
       mxSidebar(rxSidebar),
       mbIsDisposed(false)
 {
+    set_id("sd::LayoutMenu");
     implConstruct( *mrBase.GetDocument()->GetDocSh() );
     SAL_INFO("sd.ui", "created LayoutMenu at " << this);
 


More information about the Libreoffice-commits mailing list