SvtURLBox not used in any .ui files anymore

Change-Id: I03802d3345ce29f52d026f2638cb19d6209cd9e2
Reviewed-on: https://gerrit.libreoffice.org/81495
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2019-10-24 17:24:32 +01:00
parent 0ef5c47547
commit 783fec7297
3 changed files with 0 additions and 17 deletions

View File

@@ -119,10 +119,6 @@
generic-name="Calc Column SpinButton" parent="GtkSpinButton"
icon-name="widget-gtk-spinbutton"/>
<glade-widget-class title="SvtURLBox" name="svtlo-SvtURLBox"
generic-name="URLBox" parent="GtkComboBoxText"
icon-name="widget-gtk-comboboxtext"/>
<glade-widget-class title="PropertyControl" name="sdlo-PropertyControl"
generic-name="PropertyControl" parent="GtkComboBoxText"
icon-name="widget-gtk-comboboxtext"/>

View File

@@ -498,7 +498,6 @@ custom_widgets = [
'SidebarDialControl',
'SidebarToolBox',
'SpacingListBox',
'SvtURLBox',
'Svx3DPreviewControl',
'SvxCharViewControl',
'SvxColorListBox',

View File

@@ -1413,18 +1413,6 @@ SvtURLBox::SvtURLBox( vcl::Window* pParent, WinBits _nStyle, INetProtocol eSmart
Init(bSetDefaultHelpID);
}
extern "C" SAL_DLLPUBLIC_EXPORT void makeSvtURLBox(VclPtr<vcl::Window> & rRet, const VclPtr<vcl::Window> & pParent, VclBuilder::stringmap &)
{
static_assert(std::is_same_v<std::remove_pointer_t<VclBuilder::customMakeWidget>,
decltype(makeSvtURLBox)>);
WinBits nWinBits = WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_TABSTOP|
WB_DROPDOWN|WB_AUTOHSCROLL;
VclPtrInstance<SvtURLBox> pListBox(pParent, nWinBits, INetProtocol::NotValid, false);
pListBox->EnableAutoSize(true);
rRet = pListBox;
}
void SvtURLBox::Init(bool bSetDefaultHelpID)
{
pImpl.reset( new SvtURLBox_Impl );