summaryrefslogtreecommitdiff
path: root/sw/inc/ndgrf.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/ndgrf.hxx')
-rw-r--r--sw/inc/ndgrf.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx
index 3c29befdf9d2..776cdf7aedcf 100644
--- a/sw/inc/ndgrf.hxx
+++ b/sw/inc/ndgrf.hxx
@@ -180,7 +180,7 @@ public:
bool IsGrfLink() const { return refLink.Is(); }
bool IsLinkedFile() const;
bool IsLinkedDDE() const;
- tools::SvRef<sfx2::SvBaseLink> GetLink() const { return refLink; }
+ const tools::SvRef<sfx2::SvBaseLink>& GetLink() const { return refLink; }
bool GetFileFilterNms( OUString* pFileNm, OUString* pFilterNm ) const;
void ReleaseLink();