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-14 18:42:15 +0100 |
commit | 5e622d1bf3491bce79e2e1831b30716abb924750 (patch) | |
tree | 948791afd36ef436b44605f6451c7c8dce3680c9 | |
parent | 8e1e61c49e28fa3d0a76ebf02a6cb61d6bd3479b (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 ); } |