[Libreoffice-commits] .: writerfilter/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Nov 28 02:17:35 PST 2012


 writerfilter/source/dmapper/DomainMapper_Impl.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 169ee4037c6e31ccf77b992c8b226320640ccee7
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Wed Nov 28 11:16:54 2012 +0100

    writerfilter: remove copy&paste
    
    Change-Id: I7a5be1963e41dfba1394291becb53318cf4ae8f2

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index edf66f5..fbf9acb 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
                     {


More information about the Libreoffice-commits mailing list