[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Tue Jul 26 09:00:59 UTC 2016


 sw/source/filter/ww8/docxsdrexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8631f4399d49c4d5c2d2871b0523a70bad69acae
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Jul 26 09:40:09 2016 +0200

    sw: use std::move() in DocxSdrExport
    
    Change-Id: Ifd92f0ea25288540915a6509a62df7b89e9304db
    Reviewed-on: https://gerrit.libreoffice.org/27533
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index a79b67d..c4b105c 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -153,7 +153,7 @@ struct DocxSdrExport::Impl
     Impl(DocxSdrExport& rSdrExport, DocxExport& rExport, sax_fastparser::FSHelperPtr pSerializer, oox::drawingml::DrawingML* pDrawingML)
         : m_rSdrExport(rSdrExport),
           m_rExport(rExport),
-          m_pSerializer(pSerializer),
+          m_pSerializer(std::move(pSerializer)),
           m_pDrawingML(pDrawingML),
           m_pFlyFrameSize(nullptr),
           m_bTextFrameSyntax(false),


More information about the Libreoffice-commits mailing list