diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-12 14:39:08 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-15 15:10:07 +0100 |
commit | cfb7ee43b05bf8e028ac1490242138c49ffa224e (patch) | |
tree | 9bbef8aaa84d3bb20ba4a7ceec3a109cc2fec02d | |
parent | 4c1ac91f28b6f76faf4beeca8b1bef7833bb6481 (diff) |
sw: booleans are hard, let's go shopping
Has been like that since CVS import...
Change-Id: Iefa49407de90bace5eea2f86170ba8cd29b1cfe7
-rw-r--r-- | sw/source/core/doc/DocumentFieldsManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentFieldsManager.cxx b/sw/source/core/doc/DocumentFieldsManager.cxx index 0a3a8a47a8c3..f24fd9688238 100644 --- a/sw/source/core/doc/DocumentFieldsManager.cxx +++ b/sw/source/core/doc/DocumentFieldsManager.cxx @@ -1578,7 +1578,7 @@ void DocumentFieldsManager::SetNewFieldLst(bool bFlag) void DocumentFieldsManager::InsDelFieldInFieldLst( bool bIns, const SwTextField& rField ) { - if( !mbNewFieldLst || !m_rDoc.IsInDtor() ) + if (!mbNewFieldLst && !m_rDoc.IsInDtor()) mpUpdateFields->InsDelFieldInFieldLst( bIns, rField ); } |