[Libreoffice-commits] core.git: vcl/skia
LuboÅ¡ LuÅák (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 10 19:45:10 UTC 2020
vcl/skia/win/gdiimpl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2ade07d25c4fdd53d41e1829dd6f92955d14cd4f
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Fri Apr 10 21:38:00 2020 +0200
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Fri Apr 10 21:40:00 2020 +0200
downgrade warning to an info message
The errors are from DirectWrite not available, but I guess may happen
in some setups? But no point in spamming warnings either way.
Change-Id: Ic25ddcad474ccf007925ebf7afcd784da19f4b92
diff --git a/vcl/skia/win/gdiimpl.cxx b/vcl/skia/win/gdiimpl.cxx
index d197f1bc2b38..1627eb2e0135 100644
--- a/vcl/skia/win/gdiimpl.cxx
+++ b/vcl/skia/win/gdiimpl.cxx
@@ -113,14 +113,14 @@ bool WinSkiaSalGraphicsImpl::RenderAndCacheNativeControl(CompatibleDC& rWhite, C
return true;
}
-#ifdef SAL_LOG_WARN
+#ifdef SAL_LOG_INFO
HRESULT checkResult(HRESULT hr, const char* file, size_t line)
{
if (FAILED(hr))
{
OUString sLocationString
= OUString::createFromAscii(file) + ":" + OUString::number(line) + " ";
- SAL_DETAIL_LOG_STREAM(SAL_DETAIL_ENABLE_LOG_WARN, ::SAL_DETAIL_LOG_LEVEL_WARN, "vcl.skia",
+ SAL_DETAIL_LOG_STREAM(SAL_DETAIL_ENABLE_LOG_INFO, ::SAL_DETAIL_LOG_LEVEL_WARN, "vcl.skia",
sLocationString.toUtf8().getStr(),
"HRESULT failed with: 0x" << OUString::number(hr, 16) << ": "
<< WindowsErrorStringFromHRESULT(hr));
More information about the Libreoffice-commits
mailing list