diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-23 13:21:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-24 07:57:07 +0100 |
commit | ec02714d6cd5be67d03e333efddb42ab572cae77 (patch) | |
tree | 9e28e8a87c823b39a334830fcb6dfb564a967a08 /include/svx | |
parent | 945a119675788f7c8f0a133ac0271f9340c1653a (diff) |
loplugin:unused-returns in drawinglayer..svx
Change-Id: I033a78cc7fe7d8e5086f1c855c4aa371cc98dc7c
Reviewed-on: https://gerrit.libreoffice.org/48400
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/galtheme.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdoole2.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/galtheme.hxx b/include/svx/galtheme.hxx index f720ce184d12..3f191502b305 100644 --- a/include/svx/galtheme.hxx +++ b/include/svx/galtheme.hxx @@ -126,7 +126,7 @@ public: static void ReleaseObject(SgaObject* pObj); bool InsertObject(const SgaObject& rObj, sal_uInt32 nPos = SAL_MAX_UINT32); - bool RemoveObject(sal_uInt32 nPos); + void RemoveObject(sal_uInt32 nPos); SAL_DLLPRIVATE bool ChangeObjectPos(sal_uInt32 nOldPos, sal_uInt32 nNewPos); const OUString& GetName() const; diff --git a/include/svx/svdoole2.hxx b/include/svx/svdoole2.hxx index 4da4d057efb8..edeccfa5984a 100644 --- a/include/svx/svdoole2.hxx +++ b/include/svx/svdoole2.hxx @@ -189,7 +189,7 @@ public: virtual ::sfx2::SvBaseLink::UpdateResult DataChanged( const OUString& rMimeType, const css::uno::Any & rValue ) override; - bool Connect() { return GetRealObject() != nullptr; } + void Connect() { GetRealObject(); } }; #endif // INCLUDED_SVX_SVDOOLE2_HXX |