diff options
Diffstat (limited to 'svx/source/xml/xmlgrhlp.cxx')
-rw-r--r-- | svx/source/xml/xmlgrhlp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index 432288a710dc..a2709bb8c943 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -502,7 +502,7 @@ Graphic SvXMLGraphicHelper::ImplReadGraphic( const OUString& rPictureStorageName std::unique_ptr<SvStream> pStream(utl::UcbStreamHelper::CreateStream(aStream.xStream)); Graphic aGraphic = rGraphicFilter.ImportUnloadedGraphic(*pStream); if (!aGraphic.IsNone()) - aReturnGraphic = aGraphic; + aReturnGraphic = std::move(aGraphic); else rGraphicFilter.ImportGraphic(aReturnGraphic, u"", *pStream); } |