summaryrefslogtreecommitdiff
path: root/sc/inc/dptabres.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-31 13:07:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-03 06:22:40 +0000
commitfcad02149f3a9964f36522d97faaf303fc321788 (patch)
tree86f2ba2af66bf02c93f78759667a836955fd6d3d /sc/inc/dptabres.hxx
parent74917d23782413aa0f129bcf9e6bf5a1c496d23b (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/dptabres.hxx')
-rw-r--r--sc/inc/dptabres.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx
index 766dfed47784..23e1bfa5e727 100644
--- a/sc/inc/dptabres.hxx
+++ b/sc/inc/dptabres.hxx
@@ -26,6 +26,7 @@
#include <com/sun/star/sheet/MemberResult.hpp>
#include <com/sun/star/sheet/DataResult.hpp>
+#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <map>
@@ -285,7 +286,7 @@ class ScDPResultData
std::vector<ScSubTotalFunc> maMeasureFuncs;
std::vector<css::sheet::DataPilotFieldReference> maMeasureRefs;
- std::vector<sal_uInt16> maMeasureRefOrients;
+ std::vector<css::sheet::DataPilotFieldOrientation> maMeasureRefOrients;
std::vector<OUString> maMeasureNames;
bool bLateInit:1;
@@ -301,9 +302,10 @@ public:
void SetMeasureData(
std::vector<ScSubTotalFunc>& rFunctions,
std::vector<css::sheet::DataPilotFieldReference>& rRefs,
- std::vector<sal_uInt16>& rRefOrient, std::vector<OUString>& rNames );
+ std::vector<css::sheet::DataPilotFieldOrientation>& rRefOrient,
+ std::vector<OUString>& rNames );
- void SetDataLayoutOrientation( sal_uInt16 nOrient );
+ void SetDataLayoutOrientation( css::sheet::DataPilotFieldOrientation nOrient );
void SetLateInit( bool bSet );
long GetMeasureCount() const { return maMeasureFuncs.size(); }
@@ -311,7 +313,7 @@ public:
OUString GetMeasureString(long nMeasure, bool bForce, ScSubTotalFunc eForceFunc, bool& rbTotalResult) const;
OUString GetMeasureDimensionName(long nMeasure) const;
const css::sheet::DataPilotFieldReference& GetMeasureRefVal(long nMeasure) const;
- sal_uInt16 GetMeasureRefOrient(long nMeasure) const;
+ css::sheet::DataPilotFieldOrientation GetMeasureRefOrient(long nMeasure) const;
bool IsLateInit() const { return bLateInit; }