diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-13 10:46:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-13 10:46:16 +0200 |
commit | 5389b44827393c80df27e429ba446971a0d7a696 (patch) | |
tree | 2a14f1687f17df58ace194eff0d6f88955ec5f0e /include/svx/xflasit.hxx | |
parent | 4ffdb6750fa7d656d249a745f9c6d5ba98353b14 (diff) |
Let SfxSetItem ctor take SfxItemSet by unique_ptr
Change-Id: I219dd03477862169cd50eecc14822f6a023f879a
Diffstat (limited to 'include/svx/xflasit.hxx')
-rw-r--r-- | include/svx/xflasit.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/svx/xflasit.hxx b/include/svx/xflasit.hxx index 73ceb0c3f1ab..62419e2cb462 100644 --- a/include/svx/xflasit.hxx +++ b/include/svx/xflasit.hxx @@ -20,6 +20,10 @@ #ifndef INCLUDED_SVX_XFLASIT_HXX #define INCLUDED_SVX_XFLASIT_HXX +#include <sal/config.h> + +#include <memory> + #include <svl/poolitem.hxx> #include <svx/svxdllapi.h> @@ -27,7 +31,7 @@ class SVX_DLLPUBLIC XFillAttrSetItem : public SfxSetItem { public: - XFillAttrSetItem(SfxItemSet* pItemSet ); + XFillAttrSetItem(std::unique_ptr<SfxItemSet>&& pItemSet ); XFillAttrSetItem(SfxItemPool* pItemPool); XFillAttrSetItem(const XFillAttrSetItem& rAttr); XFillAttrSetItem(const XFillAttrSetItem& rAttr, |