diff options
Diffstat (limited to 'vcl/source/control/button.cxx')
-rw-r--r-- | vcl/source/control/button.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index e2b62b4a4a2e..705d8d5f0154 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -42,6 +42,7 @@ #include <svdata.hxx> #include <window.h> #include <controldata.hxx> +#include <o3tl/make_unique.hxx> #include <comphelper/dispatchcommand.hxx> @@ -92,7 +93,7 @@ mbSmallSymbol(false), maImage(), meImageAlign(ImageAlign::Top), meSymbolAlign(Sy Button::Button( WindowType nType ) : Control( nType ), - mpButtonData( new ImplCommonButtonData ) + mpButtonData( o3tl::make_unique<ImplCommonButtonData>() ) { } |