From fcad02149f3a9964f36522d97faaf303fc321788 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 31 Mar 2017 13:07:32 +0200 Subject: use actual UNO enums in sc Change-Id: I51dbe623178e3c463dc4c941f23edac04fbfe349 Reviewed-on: https://gerrit.libreoffice.org/35968 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/inc/dpsave.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc/inc/dpsave.hxx') 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 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 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; -- cgit