summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 09:40:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 11:15:27 +0100
commit89a95f5fa5a2e10d2c67d33270fa31404df33fd5 (patch)
tree7c3423db53a43b7873208921cfa38d7a9ec4fe33 /include
parentb859e9f646b6f023beeca01c59673a7b442e2332 (diff)
return by unique_ptr from weld_parent
Change-Id: I3582b3000330fab96f6abef0f412b648b0573af4 Reviewed-on: https://gerrit.libreoffice.org/69793 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-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 a180243019df..91fc19f65a87 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -211,7 +211,7 @@ public:
virtual void freeze() = 0;
virtual void thaw() = 0;
- virtual Container* weld_parent() const = 0;
+ virtual std::unique_ptr<Container> weld_parent() const = 0;
//iterate upwards through the hierarchy starting at this widgets parent,
//calling func with their helpid until func returns true or we run out of