diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2017-02-27 22:08:45 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2017-02-28 08:55:47 +0000 |
commit | ad85c1236dddeea20069bcda8cab43f10e3cd026 (patch) | |
tree | 89aa0f244a082016c0b2d6a76c7aff9fecc924c2 /sw/inc/dcontact.hxx | |
parent | 9bed0aadf9f0241ea94e6bb215063dc5a725e3c5 (diff) |
Fold SetMaster() Completely
- was called only from two places
- one could be replaced by a one-line setting of a bool
Change-Id: Ife85303518417f44755636f8d627ac0e8db98c13
Reviewed-on: https://gerrit.libreoffice.org/34701
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sw/inc/dcontact.hxx')
-rw-r--r-- | sw/inc/dcontact.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx index 05f540fc0300..966ddc1c1a6b 100644 --- a/sw/inc/dcontact.hxx +++ b/sw/inc/dcontact.hxx @@ -365,7 +365,6 @@ class SwDrawContact final : public SwContact bool operator() ( const SwDrawVirtObj* _pDrawVirtObj ); }; - void SetMaster( SdrObject* _pNewMaster ); /// method for adding/removing 'virtual' drawing object. SwDrawVirtObj* CreateVirtObj(); static void DestroyVirtObj( SwDrawVirtObj* pVirtObj ); |