Kaydet (Commit) 169ee403 authored tarafından Miklos Vajna's avatar Miklos Vajna

writerfilter: remove copy&paste

Change-Id: I7a5be1963e41dfba1394291becb53318cf4ae8f2
üst deb098d9
...@@ -3249,14 +3249,13 @@ void DomainMapper_Impl::PopFieldContext() ...@@ -3249,14 +3249,13 @@ void DomainMapper_Impl::PopFieldContext()
xToInsert = uno::Reference< text::XTextContent >(pContext->GetTextField(), uno::UNO_QUERY); xToInsert = uno::Reference< text::XTextContent >(pContext->GetTextField(), uno::UNO_QUERY);
if( xToInsert.is() ) if( xToInsert.is() )
{ {
uno::Reference< text::XTextAppendAndConvert > xTextAppendAndConvert( xTextAppend, uno::UNO_QUERY_THROW );
uno::Sequence<beans::PropertyValue> aValues; uno::Sequence<beans::PropertyValue> aValues;
// Character properties of the field show up here the // Character properties of the field show up here the
// last (always empty) run. Inherit character // last (always empty) run. Inherit character
// properties from there. // properties from there.
if (m_pLastCharacterContext.get()) if (m_pLastCharacterContext.get())
aValues = m_pLastCharacterContext->GetPropertyValues(); aValues = m_pLastCharacterContext->GetPropertyValues();
xTextAppendAndConvert->appendTextContent(xToInsert, aValues); appendTextContent(xToInsert, aValues);
} }
else else
{ {
......
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