summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-04-26 00:44:45 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-04-26 05:49:50 +0200
commite73e117c1309b586f59a4c901aa30117f457727c (patch)
tree35aba5e501aa3b694d3158e1c8d1e9bf42d3692a /xmloff/source
parent0568384c5d160000748aa58b544dbbd2a18a85a1 (diff)
This block seems obsolete now, try to drop it
... and see if something breaks. Unit tests pass. Likely obsoleted by commit 69ed893087f89d176a5ec4b263ce8d75774be72b (tdf#160253: fix list identifier export decision code, 2024-04-24). Change-Id: I4fde19e1047104686df22053c9b140819ea72963 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166651 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/text/txtparae.cxx43
1 files changed, 0 insertions, 43 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 09af34d44648..df324c16acad 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -1684,49 +1684,6 @@ void XMLTextParagraphExport::collectTextAutoStylesAndNodeExportOrder(bool bIsPro
}
}
- Reference< XNumberingRulesSupplier > xNumberingRulesSupp( GetExport().GetModel(), UNO_QUERY );
- if ( xNumberingRulesSupp.is() )
- {
- Reference< XIndexAccess > xNumberingRules = xNumberingRulesSupp->getNumberingRules();
- sal_Int32 nCount = xNumberingRules->getCount();
- // Custom outline assignment lost after re-importing sxw (#i73361#)
- for( sal_Int32 i = 0; i < nCount; ++i )
- {
- Reference< XIndexReplace > xNumRule( xNumberingRules->getByIndex( i ), UNO_QUERY );
- if( xNumRule.is() && xNumRule->getCount() )
- {
- Reference < XNamed > xNamed( xNumRule, UNO_QUERY );
- OUString sName;
- if( xNamed.is() )
- sName = xNamed->getName();
- bool bAdd = sName.isEmpty();
- if( !bAdd )
- {
- Reference < XPropertySet > xNumPropSet( xNumRule,
- UNO_QUERY );
- if( xNumPropSet.is() &&
- xNumPropSet->getPropertySetInfo()
- ->hasPropertyByName( "IsAutomatic" ) )
- {
- bAdd = *o3tl::doAccess<bool>(xNumPropSet->getPropertyValue( "IsAutomatic" ));
- // Check on outline style (#i73361#)
- if ( bAdd &&
- xNumPropSet->getPropertySetInfo()
- ->hasPropertyByName( "NumberingIsOutline" ) )
- {
- bAdd = !(*o3tl::doAccess<bool>(xNumPropSet->getPropertyValue( "NumberingIsOutline" )));
- }
- }
- else
- {
- bAdd = true;
- }
- }
- if( bAdd )
- maListAutoPool.Add( xNumRule );
- }
- }
- }
mbCollected = true;
}