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/qa/unit | |
parent | abe9f41277febb1cc9c75d2ccce6e7bf75846924 (diff) |
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/qa/unit')
-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(); } |