summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2017-05-23 20:49:48 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2017-05-24 23:42:51 +0200
commitfcee8ad5a1f326f3b6a63ca9e3e367c9e2c42515 (patch)
tree10589ba4b1c4d80a9017f8785657c256d0c58237 /include
parent16e2d84e5d0d06879c51add11380083ceb644d61 (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> (cherry picked from commit 687c3b49976ef0eb079853f7bffd63d25bff05c7) Reviewed-on: https://gerrit.libreoffice.org/37989
Diffstat (limited to 'include')
-rw-r--r--include/svx/nbdtmg.hxx5
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;