summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/mainwn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/mainwn.cxx')
-rw-r--r--sw/source/uibase/app/mainwn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/mainwn.cxx b/sw/source/uibase/app/mainwn.cxx
index 347069d69bc4..df4d9a908d63 100644
--- a/sw/source/uibase/app/mainwn.cxx
+++ b/sw/source/uibase/app/mainwn.cxx
@@ -91,7 +91,7 @@ void SetProgressState( long nPosition, SwDocShell const *pDocShell )
void EndProgress( SwDocShell const *pDocShell )
{
- if( !(pProgressContainer && !SW_MOD()->IsEmbeddedLoadSave()) )
+ if( !pProgressContainer || SW_MOD()->IsEmbeddedLoadSave() )
return;
SwProgress *pProgress = nullptr;