diff options
author | Deep17 <deepoose2011@gmail.com> | 2022-03-21 14:53:34 -0400 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-03-22 08:37:17 +0100 |
commit | d84ea3c8744aa5a125cec56574c1b943e768b70a (patch) | |
tree | 04ec5d7a84e6007c1de0239abd46ada256fe8679 /sal | |
parent | 28de720bc088a4afd3b2f28c5136a3478af5d22a (diff) |
tdf#145614 Convert #define to enum or constexpr
Change-Id: I3090ae3421ae55b7c546d82aeb49a56e93c9f02c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131913
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/digest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/digest.cxx b/sal/rtl/digest.cxx index d01e82cfcf38..de52ecae5107 100644 --- a/sal/rtl/digest.cxx +++ b/sal/rtl/digest.cxx @@ -176,8 +176,8 @@ void SAL_CALL rtl_digest_destroy(rtlDigest Digest) SAL_THROW_EXTERN_C() pImpl->m_delete(Digest); } -constexpr sal_uInt8 DIGEST_CBLOCK_MD2 = 16; -constexpr sal_uInt8 DIGEST_LBLOCK_MD2 = 16; +constexpr auto DIGEST_CBLOCK_MD2 = 16; +constexpr auto DIGEST_LBLOCK_MD2 = 16; namespace { |