[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - include/svtools

Noel Grandin noel.grandin at collabora.co.uk
Wed Dec 14 08:52:52 UTC 2016


 include/svtools/grfmgr.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e8b9fb81685db158b8b1285b2de627573a31ed76
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Mon Dec 12 09:52:21 2016 +0200

    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 at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
    (cherry picked from commit b7f92a21a458fc6fa68894fbc881eda0a1e8325e)
    Reviewed-on: https://gerrit.libreoffice.org/31973
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>
    (cherry picked from commit 871d610bc9b162ae68b263d857cf4168d124d180)
    Reviewed-on: https://gerrit.libreoffice.org/31974
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 517aca5..9a5aef0 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();


More information about the Libreoffice-commits mailing list