[Libreoffice-commits] core.git: avmedia/source include/avmedia

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 2 12:28:53 UTC 2020


 avmedia/source/framework/MediaControlBase.cxx |    4 ++++
 include/avmedia/MediaControlBase.hxx          |    3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 65e3a8eb976a669f516bb75ef45071b8d628c811
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Sep 2 09:06:54 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Sep 2 14:28:12 2020 +0200

    these constants can be local to the cxx file
    
    Change-Id: Icc264a185a025466c44351983919e0eb1010072b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101907
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/avmedia/source/framework/MediaControlBase.cxx b/avmedia/source/framework/MediaControlBase.cxx
index eb8697104581..1e0b44b757b1 100644
--- a/avmedia/source/framework/MediaControlBase.cxx
+++ b/avmedia/source/framework/MediaControlBase.cxx
@@ -29,6 +29,10 @@
 
 using ::rtl::OUString;
 
+#define AVMEDIA_DB_RANGE            -40
+#define AVMEDIA_LINEINCREMENT       1.0
+#define AVMEDIA_PAGEINCREMENT       10.0
+
 namespace avmedia {
 
 MediaControlBase::MediaControlBase()
diff --git a/include/avmedia/MediaControlBase.hxx b/include/avmedia/MediaControlBase.hxx
index 3060dd284f95..fdab003e3800 100644
--- a/include/avmedia/MediaControlBase.hxx
+++ b/include/avmedia/MediaControlBase.hxx
@@ -27,9 +27,6 @@
 namespace avmedia { class MediaItem; }
 
 #define AVMEDIA_TIME_RANGE          2048
-#define AVMEDIA_DB_RANGE            -40
-#define AVMEDIA_LINEINCREMENT       1.0
-#define AVMEDIA_PAGEINCREMENT       10.0
 
 #define AVMEDIA_TOOLBOXITEM_PLAY    0x0001
 #define AVMEDIA_TOOLBOXITEM_PAUSE   0x0004


More information about the Libreoffice-commits mailing list