sw/source/core/unocore/unoframe.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 0e2f224d07a0e7f542984d9e9f48c9cda86a80f6 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Nov 22 10:38:15 2017 +0100 An anonymous GraphicObject instance suffices here Change-Id: I13156c3194497a2e554cdfe3a92a4ff83e0ea2f1 Reviewed-on: https://gerrit.libreoffice.org/45073 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index d3d527a8e2ca..76ea5752dc97 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -1661,8 +1661,7 @@ void SwXFrame::setPropertyValue(const OUString& rPropertyName, const ::uno::Any& OString sId(OUStringToOString( aGrfUrl.copy(sizeof(sGraphicObjectProtocol)-1), RTL_TEXTENCODING_ASCII_US)); - GraphicObject pGrfObj( sId ); - aGraphic = pGrfObj.GetGraphic(); + aGraphic = GraphicObject( sId ).GetGraphic(); bApply = true; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits