diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-02 16:09:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-03 12:13:44 +0000 |
commit | 1cfedbc960d25ee322b0a0e7aae8dc73758b406e (patch) | |
tree | 1bcaac3e77e9693f9c3897d7c091acd603aff3fa /sc | |
parent | f1ea8c43a8ab6b8d158d4d8f3a0039b3a2ac2c37 (diff) |
drop SvxNumType and rename SvxExtNumType->SvxNumType
Both of them are abstractions over the css::style::NumberingType
constants.
SvxNumType serves no useful purpose, since it's just a typedef to
sal_Int16.
At least SvxExtNumType wraps up the css::style::NumberingType constants
in a nice enum.
Change-Id: I7b3f97cd42b0aa23aff7a4db4930da86149d4f4e
Reviewed-on: https://gerrit.libreoffice.org/34816
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/editutil.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/starcalc/scflt.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/editutil.cxx b/sc/source/core/tool/editutil.cxx index e820f11eb598..37dc4e5a1459 100644 --- a/sc/source/core/tool/editutil.cxx +++ b/sc/source/core/tool/editutil.cxx @@ -787,7 +787,7 @@ ScHeaderFieldData::ScHeaderFieldData() aTime( tools::Time::EMPTY ) { nPageNo = nTotalPages = 0; - eNumType = css::style::NumberingType::ARABIC; + eNumType = SVX_NUM_ARABIC; } ScHeaderEditEngine::ScHeaderEditEngine( SfxItemPool* pEnginePoolP ) diff --git a/sc/source/filter/starcalc/scflt.cxx b/sc/source/filter/starcalc/scflt.cxx index 27c2a3483530..e167882cbc4a 100644 --- a/sc/source/filter/starcalc/scflt.cxx +++ b/sc/source/filter/starcalc/scflt.cxx @@ -861,7 +861,7 @@ void Sc10PageCollection::PutToDoc( ScDocument* pDoc ) SvxPageItem aPageItem(ATTR_PAGE); aPageItem.SetPageUsage( SvxPageUsage::All ); aPageItem.SetLandscape( pPage->Orientation != 1 ); - aPageItem.SetNumType( css::style::NumberingType::ARABIC ); + aPageItem.SetNumType( SVX_NUM_ARABIC ); pSet->Put(aPageItem); pSet->Put(SvxLRSpaceItem( pPage->Left, pPage->Right, 0,0, ATTR_LRSPACE )); |