diff options
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; } |