sd/qa/unit/sdmodeltestbase.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0415e4a9143b6240fec87675877ba59bf0c9d2a5
Author: Tamás Zolnai <tamas.zol...@collabora.com>
Date:   Fri Nov 11 23:39:58 2016 +0100

    Sd test: use binary mode to dump shapes to avoid Windows line endings
    
    Otherwise on Windows we can't regenerate reference files.
    
    Change-Id: Ia293fb62651ff981b127893e26ef1d19172d2a2b
    Reviewed-on: https://gerrit.libreoffice.org/30788
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com>

diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx
index c0ed88e..bfbb642 100644
--- a/sd/qa/unit/sdmodeltestbase.hxx
+++ b/sd/qa/unit/sdmodeltestbase.hxx
@@ -254,7 +254,7 @@ protected:
 
             if ( bCreate )
             {
-                std::ofstream aStream( aFileName.getStr(), std::ofstream::out 
);
+                std::ofstream aStream( aFileName.getStr(), std::ofstream::out 
| std::ofstream::binary );
                 aStream << aString;
                 aStream.close();
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to