[Libreoffice-commits] core.git: oox/source

Grzegorz Araminowicz (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 12 07:02:32 UTC 2019


 oox/source/drawingml/diagram/diagram.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a293630bb4dfed200c1c1e246acab4226a0ff08f
Author:     Grzegorz Araminowicz <grzegorz.araminowicz at collabora.com>
AuthorDate: Thu Apr 11 15:57:52 2019 +0200
Commit:     Grzegorz Araminowicz <grzegorz.araminowicz at collabora.com>
CommitDate: Fri Apr 12 09:01:54 2019 +0200

    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 at collabora.com>

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


More information about the Libreoffice-commits mailing list