diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-31 13:07:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-03 06:22:40 +0000 |
commit | fcad02149f3a9964f36522d97faaf303fc321788 (patch) | |
tree | 86f2ba2af66bf02c93f78759667a836955fd6d3d /sc/inc/dpsave.hxx | |
parent | 74917d23782413aa0f129bcf9e6bf5a1c496d23b (diff) |
use actual UNO enums in sc
Change-Id: I51dbe623178e3c463dc4c941f23edac04fbfe349
Reviewed-on: https://gerrit.libreoffice.org/35968
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/dpsave.hxx')
-rw-r--r-- | sc/inc/dpsave.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx index 624ed3f7e080..2fa247c76802 100644 --- a/sc/inc/dpsave.hxx +++ b/sc/inc/dpsave.hxx @@ -98,7 +98,7 @@ private: std::unique_ptr<OUString> mpSubtotalName; bool bIsDataLayout; bool bDupFlag; - sal_uInt16 nOrientation; + css::sheet::DataPilotFieldOrientation nOrientation; ScGeneralFunction nFunction; // for data dimensions long nUsedHierarchy; sal_uInt16 nShowEmptyMode; //! at level @@ -145,7 +145,7 @@ public: void SetName( const OUString& rNew ); // used if the source dim was renamed (groups) - void SetOrientation(sal_uInt16 nNew); + void SetOrientation(css::sheet::DataPilotFieldOrientation nNew); void SetSubTotals(std::vector<ScGeneralFunction> const & rFuncs); long GetSubTotalsCount() const { return maSubTotalFuncs.size(); } @@ -200,7 +200,7 @@ public: void SetCurrentPage( const OUString* pPage ); // NULL = no selection (all) OUString GetCurrentPage() const; // only for ODF compatibility - sal_uInt16 GetOrientation() const + css::sheet::DataPilotFieldOrientation GetOrientation() const { return nOrientation; } ScDPSaveMember* GetExistingMemberByName(const OUString& rName); @@ -314,7 +314,7 @@ public: void RemoveDimensionByName(const OUString& rName); - ScDPSaveDimension* GetInnermostDimension(sal_uInt16 nOrientation); + ScDPSaveDimension* GetInnermostDimension(css::sheet::DataPilotFieldOrientation nOrientation); ScDPSaveDimension* GetFirstDimension(css::sheet::DataPilotFieldOrientation eOrientation); long GetDataDimensionCount() const; |