summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-20 09:03:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-20 09:04:31 +0000
commitfbadd85ce22d073c10915c0e0198c031a2c01abf (patch)
tree1f7a4a8465bbe2c7c77b100b3071332552c6cf2c /sw
parent049d94a5fcfa55039a166164648ecdb28fe7291f (diff)
Werror=misleading-indentation
Change-Id: If128194d45a4cf7265d0ca839f062ab70c22bcc1
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/DocumentFieldsManager.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/doc/DocumentFieldsManager.cxx b/sw/source/core/doc/DocumentFieldsManager.cxx
index dd91855ff0c9..a8d78988346c 100644
--- a/sw/source/core/doc/DocumentFieldsManager.cxx
+++ b/sw/source/core/doc/DocumentFieldsManager.cxx
@@ -1072,11 +1072,13 @@ void DocumentFieldsManager::UpdateExpFields( SwTextField* pUpdateField, bool bUp
// Modify entry in the hash table
pFnd->aSetStr = pSField->GetExpStr();
else
+ {
// insert new entry
aHashStrTable[nPos].reset( new HashStr( aNew,
pSField->GetExpStr(),
aHashStrTable[nPos].release() ) );
pFnd = aHashStrTable[nPos].get();
+ }
// Extension for calculation with Strings
SwSbxValue aValue;