summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-30 21:12:51 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-30 21:21:06 +0200
commitd54aa149bd6e07c646383b761901aa047a3d3ea2 (patch)
tree03f1704c9c3e8acc4c7037703ac6df4f90dd3a16 /oox
parent0c58dc8655017523be8c610ebea2200e472fdd8f (diff)
better to use no overlay for now
We have no way to determine whether the lengend touches the chart area so let us use no overlay for now. That should be much more in line of the most use cases. Change-Id: Idecb0113e47a3f7c925ff8c45238152406ce8954
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 3a806b870e04..660455d806ed 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -890,6 +890,9 @@ void ChartExport::exportLegend( Reference< ::com::sun::star::chart::XChartDocume
pFS->singleElement( FSNS( XML_c, XML_legendPos ),
XML_val, strPos,
FSEND );
+ pFS->singleElement( FSNS( XML_c, XML_overlay ),
+ XML_val, "0",
+ FSEND );
}
// shape properties