cui/source/dialogs/QrCodeGenDialog.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit bb11c36d81b7c5a1440129f988bd6ed0dd3d2856 Author: Taichi Haradaguchi <20001...@protonmail.com> AuthorDate: Mon Jan 6 04:43:07 2025 +0100 Commit: Taichi Haradaguchi <20001...@protonmail.com> CommitDate: Tue Mar 4 11:30:14 2025 +0100 cui: include Version.h instead of ZXVersion.h ZXVersion.h has been deprecated since 2.3.0,[1] so include Version.h instead if possible. [1] "cmake: replace -DZXING_BUILD_READER with #define in Version.h" https://github.com/zxing-cpp/zxing-cpp/commit/a054439f12457f800961f80495a041fe2ee753bd Change-Id: I61749b16f52443eb705937e676d6ccc529cfd322 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179812 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001...@protonmail.com> diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx index f5161458f4c5..1d8928bcb7a8 100644 --- a/cui/source/dialogs/QrCodeGenDialog.cxx +++ b/cui/source/dialogs/QrCodeGenDialog.cxx @@ -19,7 +19,11 @@ #include <vcl/svapp.hxx> #if ENABLE_ZXING +#if __has_include(<Version.h>) #include <Version.h> +#else +#include <ZXVersion.h> +#endif #include <rtl/strbuf.hxx> #ifdef __GNUC__