summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-23 01:59:24 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-23 01:59:24 +0200
commit186238b1940f89070a9fb54778a9b63735c136f3 (patch)
tree87fe4fd908711cc6c61b589f14c970bc77f282be /oox
parent34ba0a84eb60d4004c1a04948e95c2b3f3e3eef5 (diff)
we should not try to export an error bar in that case
Change-Id: Id209c5b3af04d93b6aae4043d20144d01d5b92a4
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 263b9f34a4a3..5a5106697d0b 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -3218,9 +3218,7 @@ const char* getErrorBarStyle(sal_Int32 nErrorBarStyle)
switch(nErrorBarStyle)
{
case cssc::ErrorBarStyle::NONE:
- // I have no idea how to map it to OOXML
- // this approach is as good as any else
- return "fixedVal";
+ return NULL;
case cssc::ErrorBarStyle::VARIANCE:
break;
case cssc::ErrorBarStyle::STANDARD_DEVIATION: