[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Tue Mar 20 09:04:53 UTC 2018


 sw/source/core/doc/DocumentFieldsManager.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit fbadd85ce22d073c10915c0e0198c031a2c01abf
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Mar 20 09:03:41 2018 +0000

    Werror=misleading-indentation
    
    Change-Id: If128194d45a4cf7265d0ca839f062ab70c22bcc1

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;


More information about the Libreoffice-commits mailing list