[Libreoffice-commits] core.git: sfx2/inc sfx2/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 6 13:21:46 UTC 2021


 sfx2/inc/sidebar/TitleBar.hxx    |    2 +-
 sfx2/source/sidebar/TitleBar.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a0ae4bb38cedf5f30a2bb6b6578024bb299112fe
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jul 6 12:28:05 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jul 6 15:21:11 2021 +0200

    use an explicit box instead of container
    
    Change-Id: I59a5e02ce4ff89c95c7ebdb666a6eaeea871b61f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118480
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sfx2/inc/sidebar/TitleBar.hxx b/sfx2/inc/sidebar/TitleBar.hxx
index 590cf549571e..8264acc24e65 100644
--- a/sfx2/inc/sidebar/TitleBar.hxx
+++ b/sfx2/inc/sidebar/TitleBar.hxx
@@ -53,7 +53,7 @@ public:
 
 protected:
     weld::Builder& mrBuilder;
-    std::unique_ptr<weld::Container> mxTitlebar;
+    std::unique_ptr<weld::Box> mxTitlebar;
     std::unique_ptr<weld::Image> mxAddonImage;
     std::unique_ptr<weld::Toolbar> mxToolBox;
     Theme::ThemeItem meThemeItem;
diff --git a/sfx2/source/sidebar/TitleBar.cxx b/sfx2/source/sidebar/TitleBar.cxx
index 9dc13d3aa274..dd00d42175b9 100644
--- a/sfx2/source/sidebar/TitleBar.cxx
+++ b/sfx2/source/sidebar/TitleBar.cxx
@@ -23,7 +23,7 @@ namespace sfx2::sidebar {
 
 TitleBar::TitleBar(weld::Builder& rBuilder, Theme::ThemeItem eThemeItem)
     : mrBuilder(rBuilder)
-    , mxTitlebar(rBuilder.weld_container("titlebar"))
+    , mxTitlebar(rBuilder.weld_box("titlebar"))
     , mxAddonImage(rBuilder.weld_image("addonimage"))
     , mxToolBox(rBuilder.weld_toolbar("toolbar"))
     , meThemeItem(eThemeItem)


More information about the Libreoffice-commits mailing list