diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-11 20:40:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-12 16:39:54 +0100 |
commit | 1119e4a98c4946ae65dfe8891e42b994148c7694 (patch) | |
tree | f9dd1d0fb572eedfbbabc75dd858704d5e9a861f /sw | |
parent | 63fa3ba80e07b9bc88f805912920246ffe2fa5af (diff) |
coverity#735334 Unchecked return value
Change-Id: I8023e8c11e76def505568125703f30531161dfa7
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index 0ba8fb269b4b..227dcc7d1de7 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -904,7 +904,7 @@ SfxObjectShell* SwDoc::CreateCopy(bool bCallInitNew ) const pRetShell->DoInitNew(); } - pRet->acquire(); + (void)pRet->acquire(); pRet->ReplaceDefaults(*this); @@ -924,7 +924,7 @@ SfxObjectShell* SwDoc::CreateCopy(bool bCallInitNew ) const // remove the temporary shell if it is there as it was done before pRet->SetTmpDocShell( (SfxObjectShell*)NULL ); - pRet->release(); + (void)pRet->release(); return pRetShell; } |