Kaydet (Commit) 12c75e0c authored tarafından Julien Nabet's avatar Julien Nabet

-Werror=maybe-uninitialized

Change-Id: I28804bb7b668d5c92bd61a8539860e2a8dddf8de
Reviewed-on: https://gerrit.libreoffice.org/31522Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 1517caa4
......@@ -595,8 +595,10 @@ void DocumentFieldsManager::UpdateTableFields( SfxPoolItem* pHt )
// table where &m_rDoc field is located
const SwTableNode* pTableNd;
const SwTextNode& rTextNd = pFormatField->GetTextField()->GetTextNode();
if( !rTextNd.GetNodes().IsDocNodes() ||
nullptr == ( pTableNd = rTextNd.FindTableNode() ) )
if(!rTextNd.GetNodes().IsDocNodes())
continue;
pTableNd = rTextNd.FindTableNode();
if (pTableNd == nullptr)
continue;
switch( pUpdateField->m_eFlags )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment