[Libreoffice-commits] core.git: include/vcl

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Feb 2 20:37:48 UTC 2020


 include/vcl/weld.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f88cd56a4dfc9a1bea5e95c5778f0ce7b6af67dc
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Feb 2 16:04:08 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Feb 2 21:37:16 2020 +0100

    default should be false for non-toplevel window elements
    
    Change-Id: I003a90144bc7c387509890887efa09f6beff8548
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87829
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 9bbf612b3375..742290822c32 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -2122,7 +2122,7 @@ public:
                          const OString& treeviewid, bool bTakeOwnership = false)
         = 0;
     virtual std::unique_ptr<Menu> weld_menu(const OString& id, bool bTakeOwnership = true) = 0;
-    virtual std::unique_ptr<Toolbar> weld_toolbar(const OString& id, bool bTakeOwnership = true)
+    virtual std::unique_ptr<Toolbar> weld_toolbar(const OString& id, bool bTakeOwnership = false)
         = 0;
     virtual std::unique_ptr<SizeGroup> create_size_group() = 0;
     /* return a Dialog suitable to take a screenshot of containing the contents of the .ui file.


More information about the Libreoffice-commits mailing list