[Libreoffice-commits] core.git: writerfilter/source

Caolán McNamara caolanm at redhat.com
Wed May 27 08:21:24 PDT 2015


 writerfilter/source/dmapper/DomainMapper_Impl.cxx |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

New commits:
commit 0123bbbc4d07fd7d6c233f67139984ab3cd4555d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed May 27 16:20:34 2015 +0100

    Resolves: tdf#89731 numberingChange feature not available in writer
    
    Change-Id: Ie779e78fc3c7ccf717117513d9187697c22cc51a

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index c7066f6..d106b4a 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -4801,8 +4801,10 @@ void DomainMapper_Impl::SetCurrentRedlineAuthor( const OUString& sAuthor )
 {
     if (!m_xAnnotationField.is())
     {
-        assert( m_currentRedline.get());
-        m_currentRedline->m_sAuthor = sAuthor;
+        if (m_currentRedline.get())
+            m_currentRedline->m_sAuthor = sAuthor;
+        else
+            SAL_INFO("writerfilter.dmapper", "numberingChange not implemented");
     }
     else
         m_xAnnotationField->setPropertyValue("Author", uno::makeAny(sAuthor));
@@ -4818,8 +4820,10 @@ void DomainMapper_Impl::SetCurrentRedlineDate( const OUString& sDate )
 {
     if (!m_xAnnotationField.is())
     {
-        assert( m_currentRedline.get());
-        m_currentRedline->m_sDate = sDate;
+        if (m_currentRedline.get())
+            m_currentRedline->m_sDate = sDate;
+        else
+            SAL_INFO("writerfilter.dmapper", "numberingChange not implemented");
     }
     else
         m_xAnnotationField->setPropertyValue("DateTimeValue", uno::makeAny(ConversionHelper::ConvertDateStringToDateTime(sDate)));


More information about the Libreoffice-commits mailing list