From ba32c6646812eaecd89d67e777f1bf2378d9faae Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 4 Oct 2019 13:19:02 +0100 Subject: SvtFileView not referenced in any .uis anymore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit through the fpicker constructs one directly Change-Id: Ic365231e78ca9425b97006a156273479d104eae9 Reviewed-on: https://gerrit.libreoffice.org/80211 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svtools/source/contnr/fileview.cxx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'svtools') 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 & rRet, const VclPtr & pParent, VclBuilder::stringmap & rMap) -{ - static_assert(std::is_same_v, - decltype(makeSvtFileView)>); - WinBits nBits = WB_CLIPCHILDREN|WB_LEFT|WB_VCENTER|WB_3DLOOK; - - bool bDropdown = BuilderUtils::extractDropdown(rMap); - - if (bDropdown) - nBits |= WB_DROPDOWN; - - rRet = VclPtr::Create(pParent, nBits, true, true); -} - Size SvtFileView::GetOptimalSize() const { return LogicToPixel(Size(208, 50), MapMode(MapUnit::MapAppFont)); -- cgit