From f88cd56a4dfc9a1bea5e95c5778f0ce7b6af67dc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 2 Feb 2020 16:04:08 +0000 Subject: default should be false for non-toplevel window elements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I003a90144bc7c387509890887efa09f6beff8548 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87829 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/vcl/weld.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 weld_menu(const OString& id, bool bTakeOwnership = true) = 0; - virtual std::unique_ptr weld_toolbar(const OString& id, bool bTakeOwnership = true) + virtual std::unique_ptr weld_toolbar(const OString& id, bool bTakeOwnership = false) = 0; virtual std::unique_ptr create_size_group() = 0; /* return a Dialog suitable to take a screenshot of containing the contents of the .ui file. -- cgit