diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-02-07 11:35:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-02-07 13:31:39 +0100 |
commit | 5acca93ca02fc161b00555e081dbd169bc9eec9e (patch) | |
tree | b5a6ec57eab5f70c336a93247a2ca5fba07a8c82 /include/vcl/prntypes.hxx | |
parent | 6a58859bf24c949e2531fffe5e999bcc868414c8 (diff) |
Replace macro with constexpr variable
Change-Id: I1999113b5c5ad533dc37ffd9adb9dfe346d5d749
Reviewed-on: https://gerrit.libreoffice.org/67493
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/vcl/prntypes.hxx')
-rw-r--r-- | include/vcl/prntypes.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |