diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-31 19:43:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-01 10:18:38 +0100 |
commit | cc973bbba9b8a2af9f0fdc899444dc8b4179804a (patch) | |
tree | 51528d068c42e2c1fad894db8398ca86c66f6afb | |
parent | e6165b7cac5d91458d61da3de35486cde3004897 (diff) |
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@redhat.com>
-rw-r--r-- | avmedia/source/framework/MediaControlBase.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; |