summaryrefslogtreecommitdiff
path: root/chart2/source/model
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-01-03 21:10:41 +0100
committerJulien Nabet <serval2412@yahoo.fr>2020-01-07 16:25:51 +0100
commitbf977d70cdd1df1d78e26084c4a54af60fe6ac6c (patch)
tree50bb38d7b771a0b447fbc9948aa9fb7e8910a637 /chart2/source/model
parent08cdb40164287fc1b76847c208b28a93f78153ef (diff)
Fix typo in code
Change-Id: I18fe1826646622a71a7d56acc63cbac01ffe4ead Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86204 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'chart2/source/model')
-rw-r--r--chart2/source/model/main/ChartModel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index ec0df4b1e789..a7159ced9972 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -1085,7 +1085,7 @@ namespace
enum eServiceType
{
SERVICE_DASH_TABLE,
- SERVICE_GARDIENT_TABLE,
+ SERVICE_GRADIENT_TABLE,
SERVICE_HATCH_TABLE,
SERVICE_BITMAP_TABLE,
SERVICE_TRANSP_GRADIENT_TABLE,
@@ -1099,7 +1099,7 @@ tServiceNameMap & lcl_getStaticServiceNameMap()
{
static tServiceNameMap aServiceNameMap{
{"com.sun.star.drawing.DashTable", SERVICE_DASH_TABLE},
- {"com.sun.star.drawing.GradientTable", SERVICE_GARDIENT_TABLE},
+ {"com.sun.star.drawing.GradientTable", SERVICE_GRADIENT_TABLE},
{"com.sun.star.drawing.HatchTable", SERVICE_HATCH_TABLE},
{"com.sun.star.drawing.BitmapTable", SERVICE_BITMAP_TABLE},
{"com.sun.star.drawing.TransparencyGradientTable", SERVICE_TRANSP_GRADIENT_TABLE},
@@ -1119,7 +1119,7 @@ Reference< uno::XInterface > SAL_CALL ChartModel::createInstance( const OUString
switch( (*aIt).second )
{
case SERVICE_DASH_TABLE:
- case SERVICE_GARDIENT_TABLE:
+ case SERVICE_GRADIENT_TABLE:
case SERVICE_HATCH_TABLE:
case SERVICE_BITMAP_TABLE:
case SERVICE_TRANSP_GRADIENT_TABLE: