vcl/source/uitest/logger.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 05101670aa885bf3c3972c9f75f8003c06837ff7 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Tue Mar 21 03:49:52 2017 +0100 uitest: always start with a clean file Change-Id: I0ad8d63a2dda2da3c58a626ccf9d60085c1521d5 Reviewed-on: https://gerrit.libreoffice.org/35515 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx index f56cc349860b..3fa60deb70a8 100644 --- a/vcl/source/uitest/logger.cxx +++ b/vcl/source/uitest/logger.cxx @@ -29,7 +29,7 @@ UITestLogger::UITestLogger(): osl::Directory::createPath(aDirPath); OUString aFilePath = aDirPath + OUString::fromUtf8(pFile); - maStream.Open(aFilePath, StreamMode::READWRITE); + maStream.Open(aFilePath, StreamMode::READWRITE | StreamMode::TRUNC); mbValid = true; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits