Kaydet (Commit) 544fa45e authored tarafından Miklos Vajna's avatar Miklos Vajna

indentation fixes

Change-Id: Iacdaf8bcae8df6ba380a9fb6d78db22f51a4d6f9
üst 9199f35f
......@@ -1151,9 +1151,7 @@ void RTFDocumentImpl::text(OUString& rString)
m_aStates.top().aTableAttributes.set(NS_ooxml::LN_CT_Style_styleId, pValue);
m_aStates.top().aTableSprms.set(NS_ooxml::LN_CT_Style_name, pValue);
writerfilter::Reference<Properties>::Pointer_t const pProp(
createStyleProperties()
);
writerfilter::Reference<Properties>::Pointer_t const pProp(createStyleProperties());
m_aStyleTableEntries.insert(make_pair(m_nCurrentStyleIndex, pProp));
}
else
......@@ -1441,13 +1439,13 @@ int RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
checkUnicode(/*bUnicode =*/ true, /*bHex =*/ true);
RTFSkipDestination aSkip(*this);
// special case \upr: ignore everything except nested \ud
if (DESTINATION_UPR == m_aStates.top().nDestinationState
&& RTF_UD != nKeyword)
if (DESTINATION_UPR == m_aStates.top().nDestinationState && RTF_UD != nKeyword)
{
m_aStates.top().nDestinationState = DESTINATION_SKIP;
aSkip.setParsed(false);
}
else switch (nKeyword)
else
switch (nKeyword)
{
case RTF_RTF:
break;
......
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