diff options
author | Deep17 <deepoose2011@gmail.com> | 2022-03-14 00:32:10 -0400 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2022-03-18 16:30:29 +0100 |
commit | b3bd864f7c05c3c794b431dea2ec91ad459812e7 (patch) | |
tree | ea219af223e70666e47c5cb37b48c1fbd9c60ee4 /sal | |
parent | 0f31597dcc144cbb9c7dead9a6f2154ba1c044e6 (diff) |
tdf#145614 Convert #define to enum or constexpr
Change-Id: Ie039a828b09aacc68ef2f95f495284d554122940
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131510
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
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 ed545ae87bb8..d01e82cfcf38 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); } -#define DIGEST_CBLOCK_MD2 16 -#define DIGEST_LBLOCK_MD2 16 +constexpr sal_uInt8 DIGEST_CBLOCK_MD2 = 16; +constexpr sal_uInt8 DIGEST_LBLOCK_MD2 = 16; namespace { |