summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2022-08-02 13:30:31 -0400
committerJustin Luth <jluth@mail.com>2022-08-11 16:13:02 +0200
commit727c5ed30f68abc28bb04531b25a1df30810760f (patch)
tree22784bd4ca0bd0cd7c0360b6e359458ee9e22cc1 /sd
parentb42496a3944dce181c9c2034518e009230f3fc0e (diff)
related tdf#150197: use SetListFormat instead of SetPrefix/Suffix
Commits prior to this handled all the instances that were caught by a make check. I found a few more by temporarily setting an additional boolean parameter on SetPrefix/SetSuffix which let me catch these. This means we don't have unit tests related to these. Change-Id: I1b3bb1e6eec7878e43ccf546f6df7cb38ac5299e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138072 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/bulmaper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/func/bulmaper.cxx b/sd/source/ui/func/bulmaper.cxx
index 67a6678918ea..c7d375b8e7fe 100644
--- a/sd/source/ui/func/bulmaper.cxx
+++ b/sd/source/ui/func/bulmaper.cxx
@@ -94,8 +94,7 @@ void SdBulletMapper::MapFontsInNumRule( SvxNumRule& aNumRule, const SfxItemSet&
}
else if( rSrcLevel.GetNumberingType() == css::style::NumberingType::CHAR_SPECIAL )
{
- aNewLevel.SetPrefix("");
- aNewLevel.SetSuffix("");
+ aNewLevel.SetListFormat("", "", nLevel);
aNumRule.SetLevel(nLevel, aNewLevel );
}
}