diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-12 09:52:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-12 09:02:46 +0000 |
commit | b7f92a21a458fc6fa68894fbc881eda0a1e8325e (patch) | |
tree | 5f4b690127591968b7929965ddbed72d099a3aa5 | |
parent | 111858d6c64e5c3790ec23853df564584f4c3f99 (diff) |
tdf#101563 - Export to PDF with linked images creates huge PDF files.
Looks like it was introduced by
commit 19b34c0039c6293f9b37aa70f8055aa2be28ba09
loplugin:passstuffbyref in svtools
and since it's windows only, probably some subtle mis-compilation.
Aron Budea tracked this one down.
Change-Id: I77e65ea8a1fb0003d6ff0f3b0f8019f275ff3462
Reviewed-on: https://gerrit.libreoffice.org/31893
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/svtools/grfmgr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx index 42f0e3e5802a..c264ef8fea06 100644 --- a/include/svtools/grfmgr.hxx +++ b/include/svtools/grfmgr.hxx @@ -389,7 +389,7 @@ public: bool HasLink() const { return !maLink.isEmpty(); } void SetLink(); void SetLink( const OUString& rLink ); - const OUString& GetLink() const { return maLink; } + OUString GetLink() const { return maLink; } bool HasUserData() const { return !maUserData.isEmpty(); } void SetUserData(); |