summaryrefslogtreecommitdiff
path: root/idl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-17 13:56:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-18 09:08:10 +0200
commitacc711238df5cf7cdd5b470d1439f6dc439f895a (patch)
tree8f2117f78e2b50e22251d5e3e8c50283eb184f23 /idl/inc
parent455ac9fb7a46d3bd8e0a94593388c9c474d1dd75 (diff)
loplugin:useuniqueptr in SvMetaSlot
no need to store ref-counted object like OString on the heap Change-Id: Ifd031ae68dfd615e99f54414cb2dc32aac60daa8 Reviewed-on: https://gerrit.libreoffice.org/60623 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idl/inc')
-rw-r--r--idl/inc/object.hxx2
-rw-r--r--idl/inc/slot.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/idl/inc/object.hxx b/idl/inc/object.hxx
index 5b4bdb1eb6eb..822e562c26e1 100644
--- a/idl/inc/object.hxx
+++ b/idl/inc/object.hxx
@@ -59,7 +59,7 @@ private:
static void WriteSlotStubs( const OString& rShellName,
SvSlotElementList & rSlotList,
- std::vector<OString*> & rList,
+ std::vector<OString> & rList,
SvStream & rOutStm );
static sal_uInt16 WriteSlotParamArray( SvIdlDataBase & rBase,
SvSlotElementList & rSlotList,
diff --git a/idl/inc/slot.hxx b/idl/inc/slot.hxx
index deef59ca6373..34709bc86bf2 100644
--- a/idl/inc/slot.hxx
+++ b/idl/inc/slot.hxx
@@ -119,7 +119,7 @@ public:
virtual bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override;
virtual void Insert( SvSlotElementList& ) override;
void WriteSlotStubs( const OString& rShellName,
- std::vector<OString*> & rList,
+ std::vector<OString> & rList,
SvStream & rOutStm ) const;
sal_uInt16 WriteSlotMap( const OString& rShellName,
sal_uInt16 nCount,