include/vcl/prntypes.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5acca93ca02fc161b00555e081dbd169bc9eec9e Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Feb 7 11:35:42 2019 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Feb 7 13:31:39 2019 +0100 Replace macro with constexpr variable Change-Id: I1999113b5c5ad533dc37ffd9adb9dfe346d5d749 Reviewed-on: https://gerrit.libreoffice.org/67493 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/include/vcl/prntypes.hxx b/include/vcl/prntypes.hxx index 6423d8e09f01..fab6a1bf65f5 100644 --- a/include/vcl/prntypes.hxx +++ b/include/vcl/prntypes.hxx @@ -65,7 +65,7 @@ namespace o3tl template<> struct typed_flags<PrintQueueFlags> : is_typed_flags<PrintQueueFlags, 0x01ffffff> {}; } -#define QUEUE_JOBS_DONTKNOW (sal_uInt32(0xFFFFFFFF)) +constexpr inline sal_uInt32 QUEUE_JOBS_DONTKNOW = 0xFFFFFFFF; enum class PrinterCapType _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits