diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-06-25 13:59:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-06-25 16:52:17 +0200 |
commit | 68b1c5544ca33fe51c4c0025960decc624e9d3b2 (patch) | |
tree | cddf75dba1bf6adb43dc1434ba1558a08a631350 /embedserv | |
parent | a0cd270a99f43049fc099ddd463e57aa243d5b0e (diff) |
-Werror,-Wunused-but-set-variable (clang-cl 13 trunk)
...ever since the code's introduction in
c765b4858941f748fd5ed521e10123c505db5216 "CWS-TOOLING: integrate CWS
buildid301_DEV300"
Change-Id: I9e5ad6b8e682d50ba02b08ffcc52292f749ad27a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117882
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/ed_ioleobject.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx index 1444dac0bf1e..839fd8e2d3d5 100644 --- a/embedserv/source/embed/ed_ioleobject.cxx +++ b/embedserv/source/embed/ed_ioleobject.cxx @@ -447,11 +447,9 @@ void EmbedDocument_Impl::notify( bool bDataChanged ) void EmbedDocument_Impl::Deactivate() { - HRESULT hr = S_OK; - if ( m_pDocHolder->HasFrame() ) { - hr = SaveObject(); + SaveObject(); m_pDocHolder->CloseFrame(); OLENotifyDeactivation(); } |