summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-04 13:19:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-04 21:15:20 +0200
commitba32c6646812eaecd89d67e777f1bf2378d9faae (patch)
tree3eddf9e4f9aa1b0072728b249b1cc89fb7c80ab4 /svtools
parent3022dc22ceae5da4e8c8d6b287c03619e03fc123 (diff)
SvtFileView not referenced in any .uis anymore
through the fpicker constructs one directly Change-Id: Ic365231e78ca9425b97006a156273479d104eae9 Reviewed-on: https://gerrit.libreoffice.org/80211 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/fileview.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 40df91d555ff..51b28daa7954 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -863,20 +863,6 @@ void SvtFileView::dispose()
Control::dispose();
}
-extern "C" SAL_DLLPUBLIC_EXPORT void makeSvtFileView(VclPtr<vcl::Window> & rRet, const VclPtr<vcl::Window> & pParent, VclBuilder::stringmap & rMap)
-{
- static_assert(std::is_same_v<std::remove_pointer_t<VclBuilder::customMakeWidget>,
- decltype(makeSvtFileView)>);
- WinBits nBits = WB_CLIPCHILDREN|WB_LEFT|WB_VCENTER|WB_3DLOOK;
-
- bool bDropdown = BuilderUtils::extractDropdown(rMap);
-
- if (bDropdown)
- nBits |= WB_DROPDOWN;
-
- rRet = VclPtr<SvtFileView>::Create(pParent, nBits, true, true);
-}
-
Size SvtFileView::GetOptimalSize() const
{
return LogicToPixel(Size(208, 50), MapMode(MapUnit::MapAppFont));