[Libreoffice-commits] core.git: include/svtools

Noel Grandin noel.grandin at collabora.co.uk
Mon Dec 12 09:03:25 UTC 2016


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

New commits:
commit b7f92a21a458fc6fa68894fbc881eda0a1e8325e
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>

diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 42f0e3e..c264ef8 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();


More information about the Libreoffice-commits mailing list