diff options
author | Henry Castro <hcastro@collabora.com> | 2019-10-20 09:50:48 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2019-10-22 17:52:36 +0200 |
commit | 7e43a5376647723071e7d212fc90f2caacde439f (patch) | |
tree | 3fe50f65445526d5875cbf7ef3046c968e497059 /sd/source | |
parent | 105d98caa70389c12ad4f9a2a2b7474a4be73aa2 (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/81166
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/sidebar/LayoutMenu.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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); |