summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2017-02-27 14:17:20 +0100
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2017-02-28 08:55:13 +0000
commit9bed0aadf9f0241ea94e6bb215063dc5a725e3c5 (patch)
treee13b624ce5c49eaa26128c49b48c8e7eb0419a75 /sw
parentd3b0b1512335c2ffbda04d6f06c8a53855c6072a (diff)
make SetMaster private in SwDrawContact
Change-Id: I9d4f35c8973e3240cc5e9cd870fcdc4ed70a717c Reviewed-on: https://gerrit.libreoffice.org/34700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/dcontact.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx
index 958e1a591245..05f540fc0300 100644
--- a/sw/inc/dcontact.hxx
+++ b/sw/inc/dcontact.hxx
@@ -365,6 +365,7 @@ 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 );
@@ -387,7 +388,6 @@ class SwDrawContact final : public SwContact
virtual const SdrObject* GetMaster() const override;
virtual SdrObject* GetMaster() override;
- void SetMaster( SdrObject* _pNewMaster );
const SwFrame* GetAnchorFrame( const SdrObject* _pDrawObj = nullptr ) const;
SwFrame* GetAnchorFrame( SdrObject* _pDrawObj = nullptr );