Kaydet (Commit) e1131556 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Avoid ambiguities

...when sc/source/ui/inc/tabvwsh.hxx happens to be also (indirectly) included
(as happens with Windows --enable-pch?)

Change-Id: I252af03524c0d8f354a2f64a2073c2b085b3cedc
üst 44aceccf
......@@ -1308,8 +1308,6 @@ long ScDPObject::GetDimCount()
void ScDPObject::GetHeaderPositionData(const ScAddress& rPos, DataPilotTableHeaderData& rData)
{
using namespace ::com::sun::star::sheet::DataPilotTablePositionType;
CreateOutput(); // create xSource and pOutput if not already done
// Reset member values to invalid state.
......@@ -1319,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 == css::sheet::DataPilotTablePositionType::COLUMN_HEADER || nPosType == css::sheet::DataPilotTablePositionType::ROW_HEADER)
aPosData.PositionData >>= rData;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment