From 186238b1940f89070a9fb54778a9b63735c136f3 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 23 Apr 2015 01:59:24 +0200 Subject: we should not try to export an error bar in that case Change-Id: Id209c5b3af04d93b6aae4043d20144d01d5b92a4 --- oox/source/export/chartexport.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'oox') 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: -- cgit