[Libreoffice-commits] core.git: avmedia/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Feb 1 09:19:19 UTC 2021
avmedia/source/framework/MediaControlBase.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit cc973bbba9b8a2af9f0fdc899444dc8b4179804a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Jan 31 19:43:51 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Feb 1 10:18:38 2021 +0100
cppcheck: missing getting current increment values
Change-Id: I4f6aab6e1ad8d6db1575721312fd04b50dc29773
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110232
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/avmedia/source/framework/MediaControlBase.cxx b/avmedia/source/framework/MediaControlBase.cxx
index 890bb04d805b..4e8800186ae4 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