diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /sw/inc/dcontact.hxx | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sw/inc/dcontact.hxx')
-rw-r--r-- | sw/inc/dcontact.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx index 578615599cdf..63c92528b476 100644 --- a/sw/inc/dcontact.hxx +++ b/sw/inc/dcontact.hxx @@ -260,8 +260,8 @@ class SwDrawVirtObj : public SdrVirtObj SwDrawVirtObj& operator= (const SwDrawVirtObj& rObj); /// connection to writer layout - const SwAnchoredObject* GetAnchoredObj() const; - SwAnchoredObject* AnchoredObj(); + const SwAnchoredObject* GetAnchoredObj() const { return &maAnchoredDrawObj;} + SwAnchoredObject* AnchoredObj() { return &maAnchoredDrawObj;} const SwFrm* GetAnchorFrm() const; SwFrm* AnchorFrm(); void RemoveFromWriterLayout(); |