summaryrefslogtreecommitdiff
path: root/avmedia/source/framework/mediacontrol.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-10 14:18:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-11 10:04:41 +0100
commit9576b5e411562bcbe6c6be9a78560874e66a1b1e (patch)
tree816eac0858714003161101293fc92fdb16388d4f /avmedia/source/framework/mediacontrol.cxx
parent00b0ff0687081bd6e88d3c3b0a1352c291fa6bb8 (diff)
these label properties are already set to this text in the .ui
so we're just wastefully overwriting with the same string Change-Id: Ib03d5ae2cf48aa00f5f31256427afef58b684177 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129802 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'avmedia/source/framework/mediacontrol.cxx')
-rw-r--r--avmedia/source/framework/mediacontrol.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/avmedia/source/framework/mediacontrol.cxx b/avmedia/source/framework/mediacontrol.cxx
index 55286145bb39..49cee3e977d6 100644
--- a/avmedia/source/framework/mediacontrol.cxx
+++ b/avmedia/source/framework/mediacontrol.cxx
@@ -89,9 +89,7 @@ void MediaControl::InitializeWidgets()
if( meControlStyle != MediaControlStyle::SingleLine )
{
mxPlayToolBox->set_item_help_id("open", HID_AVMEDIA_TOOLBOXITEM_OPEN);
- mxPlayToolBox->set_item_label("open", AvmResId(AVMEDIA_STR_OPEN));
mxPlayToolBox->set_item_help_id("apply", HID_AVMEDIA_TOOLBOXITEM_INSERT);
- mxPlayToolBox->set_item_label("apply", AvmResId(AVMEDIA_STR_INSERT));
}
avmedia::MediaControlBase::InitializeWidgets();
}