summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/doc/objstor.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 9946b0a28044..7727ffc409cc 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2848,8 +2848,6 @@ bool SfxObjectShell::PreDoSaveAs_Impl
bool bOk = false;
if ( !pNewFile->GetErrorCode() && SaveTo_Impl( *pNewFile, NULL ) )
{
- bOk = true;
-
// transfer a possible error from the medium to the document
SetError( pNewFile->GetErrorCode(), OUString( OSL_LOG_PREFIX ) );