summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-12 09:52:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-14 08:52:20 +0000
commite8b9fb81685db158b8b1285b2de627573a31ed76 (patch)
tree423b4da7a04d6b6ff4e2679ce485229a55fed862 /include
parent65a0d7a934aacd7cd17b97d5ec4b132f7195651f (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> (cherry picked from commit b7f92a21a458fc6fa68894fbc881eda0a1e8325e) Reviewed-on: https://gerrit.libreoffice.org/31973 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit 871d610bc9b162ae68b263d857cf4168d124d180) Reviewed-on: https://gerrit.libreoffice.org/31974 Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/grfmgr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 517aca59ef18..9a5aef0b7553 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -394,7 +394,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();