summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/chgtrack.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/chgtrack.cxx')
-rw-r--r--sc/source/core/tool/chgtrack.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index 3b5a0b42532f..fe280e31177a 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -251,7 +251,7 @@ bool ScChangeAction::IsDialogParent() const
return pPrevContent && pPrevContent->IsVirgin();
}
if ( HasDependent() )
- return IsDeleteType() ? true : !IsDeletedIn();
+ return IsDeleteType() || !IsDeletedIn();
if ( HasDeleted() )
{
if ( IsDeleteType() )