diff options
Diffstat (limited to 'svx/source/sidebar/nbdtmg.cxx')
-rw-r--r-- | svx/source/sidebar/nbdtmg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index a2eb811c4ffd..c3aa9bce4324 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -349,11 +349,11 @@ void BulletsTypeMgr::ApplyNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uInt1 } void BulletsTypeMgr::ApplyCustomRule(SvxNumRule& aNum, std::u16string_view sBullet, - std::u16string_view sFont, sal_uInt16 mLevel) + const OUString& sFont, sal_uInt16 mLevel) { sal_uInt16 nMask = 1; OUString sBulletCharFormatName = GetBulletCharFmtName(); - const vcl::Font aFont(OUString(sFont), Size(1, 1)); + const vcl::Font aFont(sFont, Size(1, 1)); for (sal_uInt16 i = 0; i < aNum.GetLevelCount(); i++) { if (mLevel & nMask) |