tdf#145614 Convert #define to constexpr

Change-Id: I2c57e2021a224fb7f69d1de5cf0f809a7d2422b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132151
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
This commit is contained in:
offtkp
2022-03-27 21:54:20 +03:00
committed by Hossein
parent 5b53dd0514
commit 64888968b3

View File

@@ -26,8 +26,8 @@
#include <mediamisc.hxx>
constexpr sal_Int32 AVMEDIA_DB_RANGE = -40;
#define AVMEDIA_LINEINCREMENT 1.0
#define AVMEDIA_PAGEINCREMENT 10.0
constexpr double AVMEDIA_LINEINCREMENT = 1.0;
constexpr double AVMEDIA_PAGEINCREMENT = 10.0;
namespace avmedia {