summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/GridWrapper.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-02-03 15:53:56 +0100
committerMathias Bauer <mba@openoffice.org>2011-02-03 15:53:56 +0100
commit76f355864a8c03b64ebfc71139f525a1fc25836a (patch)
tree189737059bcece8ceacb7abf0c1e3834caa123c5 /chart2/source/controller/chartapiwrapper/GridWrapper.cxx
parent894985ff00c217013cc360a77108fc68cd8647e7 (diff)
parent0ceb085ea2b49234664765161095f2e5911e2b3b (diff)
CWS gnumake3: resync to m99
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/GridWrapper.cxx')
-rwxr-xr-xchart2/source/controller/chartapiwrapper/GridWrapper.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/chart2/source/controller/chartapiwrapper/GridWrapper.cxx b/chart2/source/controller/chartapiwrapper/GridWrapper.cxx
index 6586511424db..51c269d7dd40 100755
--- a/chart2/source/controller/chartapiwrapper/GridWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/GridWrapper.cxx
@@ -112,17 +112,17 @@ void GridWrapper::getDimensionAndSubGridBool( tGridType eType, sal_Int32& rnDime
switch( eType )
{
- case X_MAIN_GRID:
+ case X_MAJOR_GRID:
rnDimensionIndex = 0; rbSubGrid = false; break;
- case Y_MAIN_GRID:
+ case Y_MAJOR_GRID:
rnDimensionIndex = 1; rbSubGrid = false; break;
- case Z_MAIN_GRID:
+ case Z_MAJOR_GRID:
rnDimensionIndex = 2; rbSubGrid = false; break;
- case X_SUB_GRID:
+ case X_MINOR_GRID:
rnDimensionIndex = 0; rbSubGrid = true; break;
- case Y_SUB_GRID:
+ case Y_MINOR_GRID:
rnDimensionIndex = 1; rbSubGrid = true; break;
- case Z_SUB_GRID:
+ case Z_MINOR_GRID:
rnDimensionIndex = 2; rbSubGrid = true; break;
}
}
@@ -209,3 +209,4 @@ APPHELPER_XSERVICEINFO_IMPL( GridWrapper, lcl_aServiceName );
} // namespace wrapper
} // namespace chart
+