[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - avmedia/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Feb 1 11:11:06 UTC 2021
avmedia/source/framework/MediaControlBase.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1e62c2dbe94d1661da6660511fcb230e1ea73283
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Jan 31 19:43:51 2021 +0000
Commit: Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Mon Feb 1 12:10:29 2021 +0100
cppcheck: missing getting current increment values
Change-Id: I4f6aab6e1ad8d6db1575721312fd04b50dc29773
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110218
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
diff --git a/avmedia/source/framework/MediaControlBase.cxx b/avmedia/source/framework/MediaControlBase.cxx
index 60faa27cfc3f..005c409fccb4 100644
--- a/avmedia/source/framework/MediaControlBase.cxx
+++ b/avmedia/source/framework/MediaControlBase.cxx
@@ -84,6 +84,7 @@ void MediaControlBase::UpdateTimeSlider( MediaItem const & aMediaItem )
bool bChanged(false);
int nStep(0), nPage(0);
+ mxTimeSlider->get_increments(nStep, nPage);
if (!nStep)
{
nStep = AVMEDIA_TIME_RANGE * AVMEDIA_LINEINCREMENT / fDuration;
More information about the Libreoffice-commits
mailing list