summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorGrzegorz Araminowicz <grzegorz.araminowicz@collabora.com>2019-04-11 15:57:52 +0200
committerGrzegorz Araminowicz <grzegorz.araminowicz@collabora.com>2019-04-12 09:01:54 +0200
commita293630bb4dfed200c1c1e246acab4226a0ff08f (patch)
tree8f6571a2a95e8497406777a4d51a19db0a9015cd /oox
parent100e5503d113f88b8e82b8f8c4c39b7db93f5f0d (diff)
SmartArt: save diagram dump to working dir instead of /tmp
so that it works on Windows as well Change-Id: Ia919677067c90a2c9478e3666bfe50489996756f Reviewed-on: https://gerrit.libreoffice.org/70599 Tested-by: Jenkins Reviewed-by: Grzegorz Araminowicz <grzegorz.araminowicz@collabora.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/diagram/diagram.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/diagram/diagram.cxx b/oox/source/drawingml/diagram/diagram.cxx
index 97f967280631..76e5e9089a35 100644
--- a/oox/source/drawingml/diagram/diagram.cxx
+++ b/oox/source/drawingml/diagram/diagram.cxx
@@ -137,7 +137,7 @@ void Diagram::build( )
{
// build name-object maps
#ifdef DEBUG_OOX_DIAGRAM
- std::ofstream output("/tmp/tree.dot");
+ std::ofstream output("tree.dot");
output << "digraph datatree {" << std::endl;
#endif