diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-10 14:14:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-10 15:14:48 +0200 |
commit | 0afb2b63b38dff138e66f4ac8afed60911cb6aad (patch) | |
tree | 6f0d5e837600a460a57fce6383bc4eef10cdfc7a /basic/inc | |
parent | b3541dea4889b9d0039554f87bd16e55189cf8b1 (diff) |
fix some leaks in basic
Change-Id: I52c10cdbe9661974c908ee052336c779a40de402
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115323
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/inc')
-rw-r--r-- | basic/inc/sb.hxx | 4 | ||||
-rw-r--r-- | basic/inc/sbstdobj.hxx | 2 | ||||
-rw-r--r-- | basic/inc/sbxfac.hxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/basic/inc/sb.hxx b/basic/inc/sb.hxx index f94c52a6e045..19a591219d11 100644 --- a/basic/inc/sb.hxx +++ b/basic/inc/sb.hxx @@ -22,8 +22,8 @@ #include <basic/sbxobj.hxx> // create object from user-type (+StringID+StringID) -SbxObject* createUserTypeImpl(const OUString& rClassName); +SbxObjectRef createUserTypeImpl(const OUString& rClassName); -SbxObject* cloneTypeObjectImpl(const SbxObject& rTypeObj); +SbxObjectRef cloneTypeObjectImpl(const SbxObject& rTypeObj); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/inc/sbstdobj.hxx b/basic/inc/sbstdobj.hxx index 001e332ae245..69db5c9ba9d5 100644 --- a/basic/inc/sbstdobj.hxx +++ b/basic/inc/sbstdobj.hxx @@ -28,7 +28,7 @@ class SbStdFactory final : public SbxFactory public: SbStdFactory(); - virtual SbxObject* CreateObject( const OUString& rClassName ) override; + virtual SbxObjectRef CreateObject( const OUString& rClassName ) override; }; class SbStdPicture final : public SbxObject diff --git a/basic/inc/sbxfac.hxx b/basic/inc/sbxfac.hxx index 28257b17a6d7..ab0736f3006e 100644 --- a/basic/inc/sbxfac.hxx +++ b/basic/inc/sbxfac.hxx @@ -29,8 +29,8 @@ class SbxFactory public: virtual ~SbxFactory(); SbxFactory() {} - virtual SbxBase* Create(sal_uInt16 nSbxId, sal_uInt32); - virtual SbxObject* CreateObject(const OUString&); + virtual SbxBaseRef Create(sal_uInt16 nSbxId, sal_uInt32); + virtual SbxObjectRef CreateObject(const OUString&); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |