diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-23 20:49:48 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-24 01:06:48 +0200 |
commit | 687c3b49976ef0eb079853f7bffd63d25bff05c7 (patch) | |
tree | faf95611b38122c9e694cd55ba2152d73cb35dee /include/svx | |
parent | b8a1797e1511bdee779112f09b1e64098591b9fe (diff) |
tdf#107008 Pass char style names to NBOTypeMgrBase
Change-Id: I26db31b8f9db968aa33b92a4abe917ac20cd5844
Reviewed-on: https://gerrit.libreoffice.org/37963
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/nbdtmg.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
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; |