Kaydet (Commit) 0e2f224d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

An anonymous GraphicObject instance suffices here

Change-Id: I13156c3194497a2e554cdfe3a92a4ff83e0ea2f1
Reviewed-on: https://gerrit.libreoffice.org/45073Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst d7f2de78
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment