[Libreoffice-commits] core.git: include/vcl

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Feb 7 12:32:05 UTC 2019


 include/vcl/prntypes.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5acca93ca02fc161b00555e081dbd169bc9eec9e
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Feb 7 11:35:42 2019 +0100
Commit:     Stephan Bergmann <sbergman at 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 <sbergman at 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


More information about the Libreoffice-commits mailing list