diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-10 13:38:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-12-10 13:38:52 +0100 |
commit | 5ac6e00274e732435b55c2908db9cea658fe549b (patch) | |
tree | dde58f73d38d8aa51399b12ecd005ad3b7ebad84 /sfx2/source/dialog/backingwindow.hxx | |
parent | 8c87cfc252ed0bddc99ca1bc201234c3bb041a99 (diff) |
Memory leak
Change-Id: Ica40750d628946678019376d91db67ba3f9ed67e
Diffstat (limited to 'sfx2/source/dialog/backingwindow.hxx')
-rw-r--r-- | sfx2/source/dialog/backingwindow.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx index e31daccfc7ab..90b385b5dcfb 100644 --- a/sfx2/source/dialog/backingwindow.hxx +++ b/sfx2/source/dialog/backingwindow.hxx @@ -44,6 +44,7 @@ #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XDesktop2.hpp> +#include <memory> #include <set> class ToolBox; @@ -92,7 +93,7 @@ class BackingWindow : public vcl::Window, public VclBuilderContainer bool mbIsSaveMode; bool mbInitControls; sal_Int32 mnHideExternalLinks; - svt::AcceleratorExecute* mpAccExec; + std::unique_ptr<svt::AcceleratorExecute> mpAccExec; void setupButton(PushButton* pButton); void setupButton(MenuButton* pButton); |