From 687c3b49976ef0eb079853f7bffd63d25bff05c7 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Tue, 23 May 2017 20:49:48 +0300 Subject: tdf#107008 Pass char style names to NBOTypeMgrBase Change-Id: I26db31b8f9db968aa33b92a4abe917ac20cd5844 Reviewed-on: https://gerrit.libreoffice.org/37963 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky --- include/svx/nbdtmg.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/svx') diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx index aeb4ae6651fb..004fecd7b777 100644 --- a/include/svx/nbdtmg.hxx +++ b/include/svx/nbdtmg.hxx @@ -122,6 +122,7 @@ class SVX_DLLPUBLIC NBOTypeMgrBase const SfxItemSet* pSet; MapUnit eCoreUnit; // store the attributes passed from pSet + OUString aBulletCharFmtName; OUString aNumCharFmtName; NBOTypeMgrBase(const NBOTypeMgrBase&) = delete; @@ -129,7 +130,6 @@ class SVX_DLLPUBLIC NBOTypeMgrBase NBOTypeMgrBase() : pSet(nullptr) , eCoreUnit(MapUnit::MapTwip) - , aNumCharFmtName(OUString()) , bIsLoading(false) {} virtual ~NBOTypeMgrBase() {} @@ -143,7 +143,8 @@ class SVX_DLLPUBLIC NBOTypeMgrBase // store the attributes passed from pSet void SetItems(const SfxItemSet* pArg); protected: - const OUString& GetBulCharFmtName() { return aNumCharFmtName;} + const OUString& GetBulletCharFmtName() { return aBulletCharFmtName;} + const OUString& GetNumCharFmtName() { return aNumCharFmtName;} MapUnit GetMapUnit() { return eCoreUnit;} protected: bool bIsLoading; -- cgit