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

Fix C++03 enum member scope.

üst c6b8c461
......@@ -156,35 +156,35 @@ void ScXDataPilotDescriptor::testGetDataPilotFields_Impl( uno::Reference< sheet:
case 0:
{
uno::Any aAny;
aAny<<= sheet::DataPilotFieldOrientation::DataPilotFieldOrientation_COLUMN;
aAny<<= sheet::DataPilotFieldOrientation_COLUMN;
xPropSet->setPropertyValue(aOrientation, aAny);
}
break;
case 1:
{
uno::Any aAny;
aAny<<= sheet::DataPilotFieldOrientation::DataPilotFieldOrientation_ROW;
aAny<<= sheet::DataPilotFieldOrientation_ROW;
xPropSet->setPropertyValue(aOrientation, aAny);
}
break;
case 2:
{
uno::Any aAny;
aAny<<= sheet::DataPilotFieldOrientation::DataPilotFieldOrientation_DATA;
aAny<<= sheet::DataPilotFieldOrientation_DATA;
xPropSet->setPropertyValue(aOrientation, aAny);
}
break;
case 3:
{
uno::Any aAny;
aAny<<= sheet::DataPilotFieldOrientation::DataPilotFieldOrientation_HIDDEN;
aAny<<= sheet::DataPilotFieldOrientation_HIDDEN;
xPropSet->setPropertyValue(aOrientation, aAny);
}
break;
case 4:
{
uno::Any aAny;
aAny<<= sheet::DataPilotFieldOrientation::DataPilotFieldOrientation_PAGE;
aAny<<= sheet::DataPilotFieldOrientation_PAGE;
xPropSet->setPropertyValue(aOrientation, aAny);
}
break;
......
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