summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-08-13 15:12:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-08-13 20:07:20 +0200
commite101a7a521195739d6114e939a53dae42768af8c (patch)
tree3137b1f79daa9aa3c958ae6431173f7fc5593dfb /sw
parentade52eb721524e3717f47ccd97e0aa2018b96cb0 (diff)
Fix SectionPropertyMap::ApplyProperties_
after commit 1e8ace631fb8518cea3fdf94b54e73616d7229c5 Author: Noel Grandin <noelgrandin@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.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r--sw/source/writerfilter/dmapper/PropertyMap.cxx11
1 files changed, 0 insertions, 11 deletions
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