summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unsect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/unsect.cxx')
-rw-r--r--sw/source/core/undo/unsect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/unsect.cxx b/sw/source/core/undo/unsect.cxx
index a81fa6f311f1..b229aa32687d 100644
--- a/sw/source/core/undo/unsect.cxx
+++ b/sw/source/core/undo/unsect.cxx
@@ -356,7 +356,7 @@ void SwUndoDelSection::UndoImpl(::sw::UndoRedoContext & rContext)
SwCalc aCalc( rDoc );
rDoc.FldsToCalc(aCalc, pInsertedSectNd->GetIndex(), USHRT_MAX);
bool bRecalcCondHidden =
- aCalc.Calculate( aInsertedSect.GetCondition() ).GetBool() ? true : false;
+ aCalc.Calculate( aInsertedSect.GetCondition() ).GetBool();
aInsertedSect.SetCondHidden( bRecalcCondHidden );
}