diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-11-28 11:16:54 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-11-28 11:17:24 +0100 |
commit | 169ee4037c6e31ccf77b992c8b226320640ccee7 (patch) | |
tree | 8df008ffabfc40414519832cf3c1789d50742dc1 /writerfilter | |
parent | oops. mixed-up OString and OUString (diff) | |
download | core-169ee4037c6e31ccf77b992c8b226320640ccee7.tar.gz core-169ee4037c6e31ccf77b992c8b226320640ccee7.zip |
writerfilter: remove copy&paste
Change-Id: I7a5be1963e41dfba1394291becb53318cf4ae8f2
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index edf66f505967..fbf9acb46caf 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -3249,14 +3249,13 @@ void DomainMapper_Impl::PopFieldContext() xToInsert = uno::Reference< text::XTextContent >(pContext->GetTextField(), uno::UNO_QUERY); if( xToInsert.is() ) { - uno::Reference< text::XTextAppendAndConvert > xTextAppendAndConvert( xTextAppend, uno::UNO_QUERY_THROW ); uno::Sequence<beans::PropertyValue> aValues; // Character properties of the field show up here the // last (always empty) run. Inherit character // properties from there. if (m_pLastCharacterContext.get()) aValues = m_pLastCharacterContext->GetPropertyValues(); - xTextAppendAndConvert->appendTextContent(xToInsert, aValues); + appendTextContent(xToInsert, aValues); } else { |