diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2020-05-15 10:47:06 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2020-05-15 10:47:06 +0200 |
commit | 40bd36c8b1baf90b210de12e5c21b7835d3624b5 (patch) | |
tree | 411e9135e479a5d9ced18ad0065a117da5e22f5a /vcl/jsdialog | |
parent | 452faf81ff5c1fb56f4366be76cb3d51a4e4e48f (diff) |
fix build
Change-Id: I69db24c8ab0173d2f695e371c772bb8094802fac
Diffstat (limited to 'vcl/jsdialog')
-rw-r--r-- | vcl/jsdialog/jsdialogbuilder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx index 2d104e424bd9..a9465a4de5bb 100644 --- a/vcl/jsdialog/jsdialogbuilder.cxx +++ b/vcl/jsdialog/jsdialogbuilder.cxx @@ -68,7 +68,7 @@ std::unique_ptr<weld::Label> JSInstanceBuilder::weld_label(const OString& id, bo std::unique_ptr<weld::Button> JSInstanceBuilder::weld_button(const OString& id, bool bTakeOwnership) { ::Button* pButton = m_xBuilder->get<::Button>(id); - return pButton ? o3tl::make_unique<JSButton>(m_aOwnedToplevel, pButton, this, bTakeOwnership) + return pButton ? std::make_unique<JSButton>(m_aOwnedToplevel, pButton, this, bTakeOwnership) : nullptr; } |