sw/source/core/unocore/unoframe.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit d7f2de780e73d23a80cc3d15f84f433d9d056685 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Nov 21 23:33:51 2017 +0100 put GraphicObject on stack instead of heap Change-Id: Ia673a88a397d3a4e5c3b2ff31a60d04ea9e70d1f Reviewed-on: https://gerrit.libreoffice.org/45062 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 a65b25e47c0c..d3d527a8e2ca 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -1661,8 +1661,8 @@ void SwXFrame::setPropertyValue(const OUString& rPropertyName, const ::uno::Any& OString sId(OUStringToOString( aGrfUrl.copy(sizeof(sGraphicObjectProtocol)-1), RTL_TEXTENCODING_ASCII_US)); - auto pGrfObj = o3tl::make_unique<GraphicObject>( sId ); - aGraphic = pGrfObj->GetGraphic(); + GraphicObject pGrfObj( sId ); + aGraphic = pGrfObj.GetGraphic(); bApply = true; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits