summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/uitest/logger.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}
}