svx/source/xml/xmlxtimp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 94824291b876c5591b0e369ed4426f27546f8540
Author:     Noel Grandin <[email protected]>
AuthorDate: Fri Apr 29 12:32:23 2022 +0200
Commit:     Christian Lohmaier <[email protected]>
CommitDate: Fri May 6 12:17:38 2022 +0200

    fix regression in linked bitmap import
    
    from
        commit 0527778df5f1ace8731043d070cf54b7b8648545
        Author: Noel Grandin <[email protected]>
        Date:   Fri Aug 21 13:19:36 2020 +0200
        use fastparser for fill styles
    
    spotted dodgy code while doing other work
    
    Change-Id: I339e8fbdb9df4d5f17ded76de199a3282f7c2d6c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133621
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>
    (cherry picked from commit d606b6bb3e03467fb66a19f0acb85e46b0d4ff41)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133599
    (cherry picked from commit 1712f4ffd8818188ab59512b151ccd1ad98d45df)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133609
    Reviewed-by: Xisco Fauli <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>
    Reviewed-by: Christian Lohmaier <[email protected]>
    Tested-by: Christian Lohmaier <[email protected]>

diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index f3d0785e0fdb..8abad3101e4a 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -114,7 +114,7 @@ css::uno::Reference< css::xml::sax::XFastContextHandler >
             if( aIter.first == XML_ELEMENT(XLINK, XML_HREF) &&
                 SvxXMLTableImportContextEnum::Bitmap == meContext )
             {
-                OString rValue = aIter.second;
+                OString& rValue = aIter.second;
                 if( !rValue.isEmpty() && '#' == rValue[0] )
                     rValue = rValue.copy( 1 );
             }

Reply via email to