[Libreoffice-commits] core.git: avmedia/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jun 3 07:18:21 UTC 2020
avmedia/source/framework/MediaControlBase.cxx | 3 +--
avmedia/source/framework/mediacontrol.cxx | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 9362928a1c3bf13acffa5b735996ba5d352ba50a
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Jun 2 18:43:56 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jun 3 09:17:45 2020 +0200
Upcoming loplugin:elidestringvar: avmedia
Change-Id: I792998688f0ac0853cd6fee7a92d7c00580cb51b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95372
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/avmedia/source/framework/MediaControlBase.cxx b/avmedia/source/framework/MediaControlBase.cxx
index e84586d76809..eb8697104581 100644
--- a/avmedia/source/framework/MediaControlBase.cxx
+++ b/avmedia/source/framework/MediaControlBase.cxx
@@ -121,8 +121,7 @@ void MediaControlBase::InitializeWidgets()
mxZoomListBox->set_help_id( HID_AVMEDIA_ZOOMLISTBOX );
mxZoomListBox->set_tooltip_text(AvmResId( AVMEDIA_STR_ZOOM_TOOLTIP ));
- const OUString aTimeText( " 00:00:00/00:00:00 " );
- mxTimeEdit->set_text( aTimeText );
+ mxTimeEdit->set_text( " 00:00:00/00:00:00 " );
mxTimeEdit->set_help_id( HID_AVMEDIA_TIMEEDIT );
mxTimeEdit->set_sensitive(false);
diff --git a/avmedia/source/framework/mediacontrol.cxx b/avmedia/source/framework/mediacontrol.cxx
index 66818fc07388..1db23fdbb23b 100644
--- a/avmedia/source/framework/mediacontrol.cxx
+++ b/avmedia/source/framework/mediacontrol.cxx
@@ -69,8 +69,7 @@ MediaControl::MediaControl( vcl::Window* pParent, MediaControlStyle eControlStyl
maChangeTimeIdle.SetPriority( TaskPriority::LOWEST );
maChangeTimeIdle.SetInvokeHandler( LINK( this, MediaControl, implTimeEndHdl ) );
- const OUString aTimeText( " 00:00:00/00:00:00 " );
- mxTimeEdit->set_text(aTimeText);
+ mxTimeEdit->set_text(" 00:00:00/00:00:00 ");
Size aTextSize = mxTimeEdit->get_preferred_size();
mxTimeEdit->set_size_request(aTextSize.Width(), aTextSize.Height());
mxTimeEdit->set_text(OUString());
More information about the Libreoffice-commits
mailing list