avmedia/source/framework/MediaControlBase.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 64888968b30fb387d8c2536664117915e5423b0c
Author:     offtkp <parisop...@gmail.com>
AuthorDate: Sun Mar 27 21:54:20 2022 +0300
Commit:     Hossein <hoss...@libreoffice.org>
CommitDate: Tue Mar 29 13:27:41 2022 +0200

    tdf#145614 Convert #define to constexpr
    
    Change-Id: I2c57e2021a224fb7f69d1de5cf0f809a7d2422b3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132151
    Tested-by: Jenkins
    Reviewed-by: Hossein <hoss...@libreoffice.org>

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 {
 

Reply via email to