summaryrefslogtreecommitdiffstats
path: root/sd/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-14 09:35:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-14 09:35:26 +0200
commit7f6a17756d62226dfa2af1ded365e3b3ac9f8d21 (patch)
tree596ab4f7e4d572b08e9affaefc4fae4e344b5f15 /sd/inc
parenttdf#39468 translate german comments in sw (diff)
downloadcore-7f6a17756d62226dfa2af1ded365e3b3ac9f8d21.tar.gz
core-7f6a17756d62226dfa2af1ded365e3b3ac9f8d21.zip
Let CreateItemSet return unique_ptr
...and address resulting loplugin:useuniqueptr Change-Id: Ia79eb8d59ce5092b2d93b656eab687096baedf17
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/sdmod.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index 6ba30070212f..3e50eec0f2f6 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -109,7 +109,7 @@ public:
SD_DLLPUBLIC SvNumberFormatter* GetNumberFormatter();
// virtual methods for the option dialog
- virtual SfxItemSet* CreateItemSet( sal_uInt16 nId ) override;
+ virtual std::unique_ptr<SfxItemSet> CreateItemSet( sal_uInt16 nId ) override;
virtual void ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ) override;
virtual VclPtr<SfxTabPage> CreateTabPage( sal_uInt16 nId, vcl::Window* pParent, const SfxItemSet& rSet ) override;
virtual SfxStyleFamilies* CreateStyleFamilies() override;