| commit | d2b5ab3498a78c6d164a15b3bf2b947553ea2743 | [log] |
|---|---|---|
| author | Henry Castro <hcastro@collabora.com> | Sun Oct 20 09:50:48 2019 -0400 |
| committer | Henry Castro <hcastro@collabora.com> | Tue Oct 22 23:10:35 2019 +0200 |
| tree | b0031533035d181decb426ff6e7f7f4d242518da | |
| parent | 5447117899e688a6b0003ebbd256e92bcefd76c8 [diff] |
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/81345 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com>
diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx index ab58af5..bacfa1c5 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);