diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-22 10:36:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-22 12:05:19 +0200 |
commit | 426be29029ffec9a721f83d65d0d320455ff9503 (patch) | |
tree | 77f7710c6963b588bf7eff650158e08d419dd0d4 /vcl/inc/salinst.hxx | |
parent | de0581c77228eb00ff84a3996bfd252d6928a056 (diff) |
return weld::Builder by unique_ptr
Change-Id: Ifa4f5951d200eaad6c8aebd3f29eed053c927ff0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124051
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/salinst.hxx')
-rw-r--r-- | vcl/inc/salinst.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/salinst.hxx b/vcl/inc/salinst.hxx index 9694d30f4939..7d42cb51011b 100644 --- a/vcl/inc/salinst.hxx +++ b/vcl/inc/salinst.hxx @@ -161,8 +161,8 @@ public: // also needs to set m_bSupportsOpenGL = true in your SalInstance implementation! virtual OpenGLContext* CreateOpenGLContext(); - virtual weld::Builder* CreateBuilder(weld::Widget* pParent, const OUString& rUIRoot, const OUString& rUIFile); - virtual weld::Builder* CreateInterimBuilder(vcl::Window* pParent, const OUString& rUIRoot, const OUString& rUIFile, + virtual std::unique_ptr<weld::Builder> CreateBuilder(weld::Widget* pParent, const OUString& rUIRoot, const OUString& rUIFile); + virtual std::unique_ptr<weld::Builder> CreateInterimBuilder(vcl::Window* pParent, const OUString& rUIRoot, const OUString& rUIFile, bool bAllowCycleFocusOut, sal_uInt64 nLOKWindowId = 0); virtual weld::MessageDialog* CreateMessageDialog(weld::Widget* pParent, VclMessageType eMessageType, VclButtonsType eButtonType, const OUString& rPrimaryMessage); |