diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-01-05 11:57:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-01-05 20:30:40 +0100 |
commit | e93d25ab979ba824f5ee1d22e1d2f43c74afb99f (patch) | |
tree | a959350204b2d59a836529209236dae7972e6595 /vcl/unx | |
parent | 88e871125cdc1c5b45529eb37a76201748a16a36 (diff) |
report what font is missing when terminating test
even in release mode
Change-Id: I3e9673cc498202c64ba00f5cd2cd0e7429d77834
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161659
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/fontmanager/fontconfig.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx index 0d6872d3b9e2..c1568b02712e 100644 --- a/vcl/unx/generic/fontmanager/fontconfig.cxx +++ b/vcl/unx/generic/fontmanager/fontconfig.cxx @@ -19,6 +19,7 @@ #include <sal/config.h> +#include <iostream> #include <memory> #include <string_view> @@ -1171,6 +1172,7 @@ void PrintFontManager::Substitute(vcl::font::FontSelectPattern &rPattern, OUStri return; SAL_WARN("vcl.fonts", "PrintFontManager::Substitute: missing font: '" << rPattern.maTargetName << "' try: " << rPattern.maSearchName << " instead"); + std::cerr << "terminating test due to missing font: " << rPattern.maTargetName << std::endl; std::abort(); } } |