From a293630bb4dfed200c1c1e246acab4226a0ff08f Mon Sep 17 00:00:00 2001 From: Grzegorz Araminowicz Date: Thu, 11 Apr 2019 15:57:52 +0200 Subject: 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 --- oox/source/drawingml/diagram/diagram.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox') 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 -- cgit