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

Jochen Nitschke j.nitschke+logerrit at ok.de
Mon Jun 19 09:16:15 UTC 2017


 writerfilter/source/dmapper/DomainMapper_Impl.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 66f026445cbb1802730a7227820178b7feab166b
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Mon Jun 19 02:00:00 2017 +0200

    writerfilter: SET_FULL_NAME is never set
    
    Change-Id: I704919e0a834e1431e153cd57f48de08c0f09c11
    Reviewed-on: https://gerrit.libreoffice.org/38948
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 5719880dd01b..ff72b1ee26df 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -3188,7 +3188,6 @@ void DomainMapper_Impl::handleAuthor
     if (!rFirstParam.isEmpty())
     {
         #define SET_ARABIC      0x01
-        #define SET_FULL_NAME   0x02
         #define SET_DATE        0x04
         struct DocPropertyMap
         {
@@ -3265,10 +3264,6 @@ void DomainMapper_Impl::handleAuthor
                 xFieldProperties->setPropertyValue(
                     getPropertyName(PROP_NUMBERING_TYPE),
                     uno::makeAny( style::NumberingType::ARABIC ));
-            else if(0 != (aDocProperties[nMap].nFlags & SET_FULL_NAME))
-                xFieldProperties->setPropertyValue(
-                    getPropertyName(PROP_FULL_NAME),
-                        uno::makeAny( true ));
             else if(0 != (aDocProperties[nMap].nFlags & SET_DATE))
             {
                 xFieldProperties->setPropertyValue(
@@ -3280,7 +3275,6 @@ void DomainMapper_Impl::handleAuthor
     }
 
 #undef SET_ARABIC
-#undef SET_FULL_NAME
 #undef SET_DATE
 }
 


More information about the Libreoffice-commits mailing list