diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-06-25 10:35:00 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-06-25 16:16:49 +0200 |
commit | 2eeb6822110205f76eb908b5900526723cc8007c (patch) | |
tree | 87e59aa1682217154cbeea48203e125bdf146b5f /vcl/opengl | |
parent | c3f8702241b625db994bcb059d8c91c25fd43e53 (diff) |
log properly the compiler used to compile Skia
Using #define's directly from VCL will report the compiler used
to compile VCL, which may be different from the one used for Skia.
Also truncate the log file on opening.
Change-Id: Iddf613613df20505f1abe1dd5468dcc8c7041410
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97090
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index 3fb4035ec58c..9ea39abd8b43 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -219,7 +219,7 @@ bool WinOpenGLDeviceInfo::isDeviceBlocked() OUString aCacheFolder = getCacheFolder(); OUString aCacheFile(aCacheFolder + "/opengl_device.log"); - SvFileStream aOpenGLLogFile(aCacheFile, StreamMode::WRITE); + SvFileStream aOpenGLLogFile(aCacheFile, StreamMode::WRITE|StreamMode::TRUNC); writeToLog(aOpenGLLogFile, "DriverVersion", maDriverVersion); writeToLog(aOpenGLLogFile, "DriverDate", maDriverDate); |