diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-14 11:56:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-15 10:29:31 +0000 |
commit | c9da7f6bfe25d217fe3fdd09b82b95e9491cd8e3 (patch) | |
tree | c7150e564d45a9e1eab10d19904610e807a867eb /sc/inc/dputil.hxx | |
parent | 6c3968e234e8ee49103921930de87801bcc048bc (diff) |
introduce ScGeneralFunction scoped enum
to abstract over css::sheet::GeneralFunction and
css::sheet::GeneralFunction2
Change-Id: I4d4df35a249bf66e12240a3b94948918f1f3ef8a
Reviewed-on: https://gerrit.libreoffice.org/35168
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/dputil.hxx')
-rw-r--r-- | sc/inc/dputil.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/dputil.hxx b/sc/inc/dputil.hxx index 525e67363c9a..aec2b19e9c10 100644 --- a/sc/inc/dputil.hxx +++ b/sc/inc/dputil.hxx @@ -18,6 +18,7 @@ class SvNumberFormatter; struct ScDPNumGroupInfo; +enum class ScGeneralFunction; class ScDPUtil { @@ -50,8 +51,7 @@ public: static OUString getDisplayedMeasureName(const OUString& rName, ScSubTotalFunc eFunc); - static ScSubTotalFunc toSubTotalFunc(css::sheet::GeneralFunction eGenFunc); - static ScSubTotalFunc toSubTotalFunc(sal_Int16 eGenFunc); + static ScSubTotalFunc toSubTotalFunc(ScGeneralFunction eGenFunc); }; #endif |