diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 16:12:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 16:35:34 +0200 |
commit | 7f68a5b0f8ddcd7dd0afebb334f16f2d5b487bae (patch) | |
tree | 4e4d939c9310a1be98788144bd94f2e4a3263489 /sfx2 | |
parent | 221c65af74d2008df9e7c1a5bb89e47caf27b6a1 (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: Iaacaa3767398cea4c7850c3a8d186cf3754c4736
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 |
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 ) ); |