sw/source/writerfilter/dmapper/PropertyMap.cxx |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit e101a7a521195739d6114e939a53dae42768af8c
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Tue Aug 13 15:12:01 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue Aug 13 20:07:20 2024 +0200

    Fix SectionPropertyMap::ApplyProperties_
    
    after
        commit 1e8ace631fb8518cea3fdf94b54e73616d7229c5
        Author: Noel Grandin <noelgran...@gmail.com>
        Date:   Fri Aug 9 12:38:54 2024 +0200
        use more concrete UNO type in writerfilter
    where I forgot to remove unnecessary logic, so we ended up setting the
    properties twice
    
    Change-Id: Ie1e5aae3ff199c3bec4bf95b0d660461552acb60
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171827
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Tested-by: Jenkins

diff --git a/sw/source/writerfilter/dmapper/PropertyMap.cxx 
b/sw/source/writerfilter/dmapper/PropertyMap.cxx
index eed8ec26284d..b2ed4176081d 100644
--- a/sw/source/writerfilter/dmapper/PropertyMap.cxx
+++ b/sw/source/writerfilter/dmapper/PropertyMap.cxx
@@ -2084,17 +2084,6 @@ void SectionPropertyMap::ApplyProperties_( const 
rtl::Reference<SwXPageStyle>& x
     {
         TOOLS_WARN_EXCEPTION( "writerfilter", 
"SectionPropertyMap::ApplyProperties_" );
     }
-    for ( size_t i = 0; i < vNames.size(); ++i )
-    {
-        try
-        {
-            xStyle->setPropertyValue( vNames[i], vValues[i] );
-        }
-        catch ( const uno::Exception& )
-        {
-            TOOLS_WARN_EXCEPTION( "writerfilter", 
"SectionPropertyMap::ApplyProperties_" );
-        }
-    }
 }
 
 sal_Int32 SectionPropertyMap::GetPageWidth() const

Reply via email to