Kaydet (Commit) 4fa9e6f7 authored tarafından Miklos Vajna's avatar Miklos Vajna

svtools: fix up misleading indentation

The intention was to only conditionally warn. Thanks Noel for spotting
my mistake.

Change-Id: Iaa035dba1f834c13a179ef66c3f39777f3843bdb
Reviewed-on: https://gerrit.libreoffice.org/62641Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
üst f09ba75f
......@@ -432,11 +432,13 @@ void EmbeddedObjectRef::GetReplacement( bool bUpdate )
}
if (bUpdate && !*mpImpl->pGraphic && aOldGraphic)
{
// We used to have an old graphic, tried to update and the update
// failed. Go back to the old graphic instead of having no graphic at
// all.
(*mpImpl->pGraphic) = aOldGraphic;
SAL_WARN("svtools.misc", "EmbeddedObjectRef::GetReplacement: update failed");
}
}
const Graphic* EmbeddedObjectRef::GetGraphic() const
......
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