summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xipivot.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-14 11:56:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-15 10:29:31 +0000
commitc9da7f6bfe25d217fe3fdd09b82b95e9491cd8e3 (patch)
treec7150e564d45a9e1eab10d19904610e807a867eb /sc/source/filter/excel/xipivot.cxx
parent6c3968e234e8ee49103921930de87801bcc048bc (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/source/filter/excel/xipivot.cxx')
-rw-r--r--sc/source/filter/excel/xipivot.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xipivot.cxx b/sc/source/filter/excel/xipivot.cxx
index fc451bf173a2..23c72528a18f 100644
--- a/sc/source/filter/excel/xipivot.cxx
+++ b/sc/source/filter/excel/xipivot.cxx
@@ -1153,7 +1153,7 @@ void XclImpPTField::ConvertDataFieldInfo( ScDPSaveDimension& rSaveDim, const Xcl
rSaveDim.SetLayoutName(*pVisName);
// aggregation function
- rSaveDim.SetFunction( static_cast< sal_uInt16 >( rDataInfo.GetApiAggFunc() ) );
+ rSaveDim.SetFunction( rDataInfo.GetApiAggFunc() );
// result field reference
sal_Int32 nRefType = rDataInfo.GetApiRefType();