diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-19 11:14:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-19 12:41:48 +0200 |
commit | a759623c3f4bc0265b619ef2bcdff72045a1b5b3 (patch) | |
tree | 42833d8e6e82009fe5bd5ca3cc0e8d06fb109a61 /include/sfx2/objsh.hxx | |
parent | loplugin:flatten in drawinglayer (diff) | |
download | core-a759623c3f4bc0265b619ef2bcdff72045a1b5b3.tar.gz core-a759623c3f4bc0265b619ef2bcdff72045a1b5b3.zip |
loplugin:buriedassign in various
Change-Id: Ib79cbc89f2f89ff48ea8b59bd12373a10b9dcd62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92495
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/objsh.hxx')
-rw-r--r-- | include/sfx2/objsh.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index 6f3f1098a479..22f5995b0291 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -863,7 +863,8 @@ inline SfxObjectShellLock & SfxObjectShellLock::operator=( SfxObjectShellLock && } inline SfxObjectShellLock & SfxObjectShellLock::operator=( SfxObjectShell * pObjP ) { - return *this = SfxObjectShellLock( pObjP ); + *this = SfxObjectShellLock( pObjP ); + return *this; } class SFX2_DLLPUBLIC SfxObjectShellItem final : public SfxPoolItem |