summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/data/dpobject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index 3374471d4f36..8e68900d3338 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -1317,7 +1317,7 @@ void ScDPObject::GetHeaderPositionData(const ScAddress& rPos, DataPilotTableHead
DataPilotTablePositionData aPosData;
pOutput->GetPositionData(rPos, aPosData);
const sal_Int32 nPosType = aPosData.PositionType;
- if (nPosType == COLUMN_HEADER || nPosType == ROW_HEADER)
+ if (nPosType == com::sun::star::sheet::DataPilotTablePositionType::COLUMN_HEADER || nPosType == com::sun::star::sheet::DataPilotTablePositionType::ROW_HEADER)
aPosData.PositionData >>= rData;
}