diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2016-11-11 23:39:58 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2016-11-12 09:43:50 +0000 |
commit | 0415e4a9143b6240fec87675877ba59bf0c9d2a5 (patch) | |
tree | a7ce74ad6ac0b7efb6ab93ac44bb3cba4ee15844 /sd | |
parent | More EncapsulatedX509Certificate work (diff) | |
download | core-0415e4a9143b6240fec87675877ba59bf0c9d2a5.tar.gz core-0415e4a9143b6240fec87675877ba59bf0c9d2a5.zip |
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@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/sdmodeltestbase.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx index c0ed88e9a1c3..bfbb64232454 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(); } |