xmloff/source/chart/SchXMLExport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aee01f809e214090b320b31bdce98dff77208a3b
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Wed Apr 24 12:21:41 2013 +0200

    x error bars are also defined in ODF 1.2
    
    I suppose they were deactivated in ODF 1.2 because of the invalid ODF
    files produced by the old code
    
    Change-Id: I42624a3e0f57405b38110bef86a0aa533f491c6c

diff --git a/xmloff/source/chart/SchXMLExport.cxx 
b/xmloff/source/chart/SchXMLExport.cxx
index 0b44488..1200702 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -3026,7 +3026,7 @@ void SchXMLExportHelper_Impl::exportErrorBar( const 
Reference<beans::XPropertySe
     const SvtSaveOptions::ODFDefaultVersion nCurrentVersion( 
SvtSaveOptions().GetODFDefaultVersion() );
 
     /// Dont export X ErrorBars for older ODF versions.
-    if ( !bYError && nCurrentVersion <= SvtSaveOptions::ODFVER_012 )
+    if ( !bYError && nCurrentVersion < SvtSaveOptions::ODFVER_012 )
         return;
 
     if (xSeriesProp.is())
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to