Kaydet (Commit) 2c64af52 authored tarafından Miklos Vajna's avatar Miklos Vajna

fdo#64656 RTF import: handle levelnumbers without leveltext

Change-Id: I34ce7b172dc94489f7f506796e66b14598aab19c
üst 4f4856a8
{\rtf
{\*\listtable
{\list \listtemplateid3794224 \listhybrid
{\listlevel \levelnfc0 \levelnfcn0 \leveljc0 \leveljcn0 \levelstartat1 \levelfollow0 \levelspace0 \levelindent0 \levellegal0 \levelnorestart0
{\levelnumbers ;}
}
{\listname ;}
\listid258183 }
}
}
...@@ -3843,6 +3843,7 @@ int RTFDocumentImpl::popState() ...@@ -3843,6 +3843,7 @@ int RTFDocumentImpl::popState()
} }
break; break;
case DESTINATION_LEVELNUMBERS: case DESTINATION_LEVELNUMBERS:
if (aState.aTableSprms.find(NS_ooxml::LN_CT_Lvl_lvlText))
{ {
RTFSprms& rAttributes = aState.aTableSprms.find(NS_ooxml::LN_CT_Lvl_lvlText)->getAttributes(); RTFSprms& rAttributes = aState.aTableSprms.find(NS_ooxml::LN_CT_Lvl_lvlText)->getAttributes();
RTFValue::Pointer_t pValue = rAttributes.find(NS_ooxml::LN_CT_LevelText_val); RTFValue::Pointer_t pValue = rAttributes.find(NS_ooxml::LN_CT_LevelText_val);
......
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