[Libreoffice-commits] core.git: sd/qa
Tamás Zolnai
tamas.zolnai at collabora.com
Sat Nov 12 09:44:13 UTC 2016
sd/qa/unit/sdmodeltestbase.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0415e4a9143b6240fec87675877ba59bf0c9d2a5
Author: Tamás Zolnai <tamas.zolnai at 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 <ci at libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai at 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();
}
More information about the Libreoffice-commits
mailing list