summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/docsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/docsh.cxx')
-rw-r--r--sw/source/uibase/app/docsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx
index 235c553c4f6d..2872e78040f4 100644
--- a/sw/source/uibase/app/docsh.cxx
+++ b/sw/source/uibase/app/docsh.cxx
@@ -806,8 +806,8 @@ void SwDocShell::Draw( OutputDevice* pDev, const JobSetup& rSetup,
sal_uInt16 nAspect )
{
//fix #25341# Draw should not affect the Modified
- bool bResetModified;
- if ( (bResetModified = IsEnableSetModified()) )
+ bool bResetModified = IsEnableSetModified();
+ if ( bResetModified )
EnableSetModified( false );
// When there is a JobSetup connected to the Document, we copy it to