diff options
author | offtkp <parisoplop@gmail.com> | 2022-03-27 21:54:20 +0300 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2022-03-29 13:27:41 +0200 |
commit | 64888968b30fb387d8c2536664117915e5423b0c (patch) | |
tree | 3668d09352fdfae9e9819d738720711245b5a800 /avmedia/source | |
parent | 5b53dd0514c25f907c80d523b078387db71f859b (diff) |
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>
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/framework/MediaControlBase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/framework/MediaControlBase.cxx b/avmedia/source/framework/MediaControlBase.cxx index 16ab1df32aa2..534c27c2c33c 100644 --- a/avmedia/source/framework/MediaControlBase.cxx +++ b/avmedia/source/framework/MediaControlBase.cxx @@ -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 { |