summaryrefslogtreecommitdiff
path: root/desktop/source/lib/init.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-19 13:00:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-19 17:10:51 +0100
commit074e969a23be8bf2f5ef21d6997f7a0522c81369 (patch)
treee68f8efa1445284f653728b22d4b203c1f32db10 /desktop/source/lib/init.cxx
parent2db9ef47478fa7faf4fbceb0791edf43a110fb4f (diff)
move VclBuilder::preload so desktop doesn't need to include that header
Change-Id: I72f2b21cb9ac0b39995887afcf41189f2e7ad284 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111219 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'desktop/source/lib/init.cxx')
-rw-r--r--desktop/source/lib/init.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 7d8785040964..76f08455e3a7 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -151,7 +151,6 @@
#include <unotools/datetime.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/languagetag.hxx>
-#include <vcl/builder.hxx>
#include <vcl/abstdlg.hxx>
#include <tools/diagnose_ex.h>
#include <vcl/uitest/uiobject.hxx>
@@ -6300,7 +6299,7 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
}
{ // Force load some modules
comphelper::ProfileZone aInit("preload modules");
- VclBuilder::preload();
+ VclBuilderPreload();
VclAbstractDialogFactory::Create();
}