From f3e4c05ce6feaebebb269f1c984a92c1175061a4 Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Fri, 14 May 2021 11:29:05 +0200 Subject: tdf#94628: sw: allow setting for bullet style for outline paragraphs Since LO 7.0 commit cad788328ec6ef4b3071cf9002dfac12347562da allowed bullets in the outline, I think you also want to be able to set the character style, wouldn't you? In any case, isOutlineNumbering is basically a meaningless and inaccurate concept anyway, so just get rid of that ancient clause. Change-Id: I2e40a3749b4a18864585c309349ea0e4ba73a9da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115613 Tested-by: Jenkins Reviewed-by: Justin Luth --- writerfilter/source/dmapper/NumberingManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx index ac8a9a4216eb..f7ee07c9c98c 100644 --- a/writerfilter/source/dmapper/NumberingManager.cxx +++ b/writerfilter/source/dmapper/NumberingManager.cxx @@ -268,7 +268,7 @@ uno::Sequence ListLevel::GetLevelProperties(bool bDefaults } std::optional aPropFont = getProperty(PROP_CHAR_FONT_NAME); - if(aPropFont && !isOutlineNumbering()) + if (aPropFont) aNumberingProperties.emplace_back( getPropertyName(PROP_BULLET_FONT_NAME), 0, aPropFont->second, beans::PropertyState_DIRECT_VALUE ); return comphelper::containerToSequence(aNumberingProperties); -- cgit v1.2.1