diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-10-30 18:49:53 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-10-30 23:06:37 +0100 |
commit | 4fa9e6f7f891b335ae1b432e0848c1e46c8fe3ef (patch) | |
tree | bb3b4985333dd91348237bef7786151d90984587 /svtools | |
parent | f09ba75fea4864428847668a1ab1fb86d49a65af (diff) |
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/62641
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/embedhlp.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx index f321f0ed4b1a..fa7f7b791b1d 100644 --- a/svtools/source/misc/embedhlp.cxx +++ b/svtools/source/misc/embedhlp.cxx @@ -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 |