summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-02 16:04:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-02-02 21:37:16 +0100
commitf88cd56a4dfc9a1bea5e95c5778f0ce7b6af67dc (patch)
treea689811c5101f2a277c161695d0b7f9bd9126c13
parent14b6fae258fe74c5cccf1e6d63ff32ae698d0f6c (diff)
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@redhat.com>
-rw-r--r--include/vcl/weld.hxx2
1 files changed, 1 insertions, 1 deletions
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.