diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-09 20:04:08 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-09 19:50:42 +0000 |
commit | 569ff6727e54d5ce8c19ae51a9a651a98c8096d3 (patch) | |
tree | 7089e0a8469425c58878de805cd6861c5dd7288c /basic | |
parent | 9037e2289d10aa8208d0e8f75847204d73ea21a7 (diff) |
update_pch: add a bunch of pch files
I had to fix some source files because of macro redefinitions and such stuff.
Small modules like basic have a great win, too:
make basic.clean && time make basic:
with w/o
pch pch
accessibility 23s 1m59s
basctl 30s 1m42s
basic 56s 1m35s
comphelper 23s 51s
editeng 48s 2m04s
forms 40s 1m40s
unotools 19s 38s
sd 3m37s 4m33s
Change-Id: Id24cdcddbe2ff64820b42266325c25af1355558f
Reviewed-on: https://gerrit.libreoffice.org/9293
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/Library_sb.mk | 2 | ||||
-rw-r--r-- | basic/inc/pch/precompiled_sb.cxx | 12 | ||||
-rw-r--r-- | basic/inc/pch/precompiled_sb.hxx | 81 | ||||
-rw-r--r-- | basic/source/runtime/dllmgr-none.cxx | 4 | ||||
-rw-r--r-- | basic/source/runtime/dllmgr-x64.cxx | 4 | ||||
-rw-r--r-- | basic/source/runtime/dllmgr-x86.cxx | 4 |
6 files changed, 101 insertions, 6 deletions
diff --git a/basic/Library_sb.mk b/basic/Library_sb.mk index 29fdd3053aeb..3fed0bccc901 100644 --- a/basic/Library_sb.mk +++ b/basic/Library_sb.mk @@ -27,6 +27,8 @@ $(eval $(call gb_Library_set_include,sb,\ -I$(SRCDIR)/basic/source/inc \ )) +$(eval $(call gb_Library_set_precompiled_header,sb,$(SRCDIR)/basic/inc/pch/precompiled_sb)) + $(eval $(call gb_Library_use_external,sb,boost_headers)) $(eval $(call gb_Library_use_custom_headers,sb,\ diff --git a/basic/inc/pch/precompiled_sb.cxx b/basic/inc/pch/precompiled_sb.cxx new file mode 100644 index 000000000000..5b62b93c69e4 --- /dev/null +++ b/basic/inc/pch/precompiled_sb.cxx @@ -0,0 +1,12 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include "precompiled_sb.hxx" + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/inc/pch/precompiled_sb.hxx b/basic/inc/pch/precompiled_sb.hxx new file mode 100644 index 000000000000..4c0ba1bb6e17 --- /dev/null +++ b/basic/inc/pch/precompiled_sb.hxx @@ -0,0 +1,81 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +/* + This file has been autogenerated by update_pch.sh . It is possible to edit it + manually (such as when an include file has been moved/renamed/removed. All such + manual changes will be rewritten by the next run of update_pch.sh (which presumably + also fixes all possible problems, so it's usually better to use it). +*/ + +#include "math.h" +#include <boost/foreach.hpp> +#include <boost/scoped_array.hpp> +#include <com/sun/star/bridge/oleautomation/Decimal.hpp> +#include <com/sun/star/bridge/oleautomation/XAutomationObject.hpp> +#include <com/sun/star/i18n/LocaleCalendar.hpp> +#include <com/sun/star/lang/Locale.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/script/XErrorQuery.hpp> +#include <com/sun/star/sheet/XFunctionAccess.hpp> +#include <com/sun/star/ucb/SimpleFileAccess.hpp> +#include <com/sun/star/uno/Sequence.hxx> +#include <com/sun/star/uno/XInterface.hpp> +#include <com/sun/star/util/DateTime.hpp> +#include <comphelper/processfactory.hxx> +#include <comphelper/string.hxx> +#include <cstddef> +#include <ctype.h> +#include <errno.h> +#include <float.h> +#include <i18nlangtag/lang.h> +#include <iomanip> +#include <list> +#include <math.h> +#include <ooo/vba/XHelperInterface.hpp> +#include <osl/file.hxx> +#include <osl/process.h> +#include <osl/time.h> +#include <rtl/character.hxx> +#include <rtl/instance.hxx> +#include <rtl/math.hxx> +#include <rtl/strbuf.hxx> +#include <rtl/string.hxx> +#include <rtl/ustrbuf.hxx> +#include <rtl/ustring.hxx> +#include <sal/config.h> +#include <sal/log.hxx> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <svl/brdcst.hxx> +#include <svl/zforlist.hxx> +#include <tools/color.hxx> +#include <tools/date.hxx> +#include <tools/errcode.hxx> +#include <tools/shl.hxx> +#include <tools/stream.hxx> +#include <tools/urlobj.hxx> +#include <tools/wintypes.hxx> +#include <tools/wldcrd.hxx> +#include <unotools/charclass.hxx> +#include <unotools/syslocale.hxx> +#include <unotools/ucbstreamhelper.hxx> +#include <vcl/dibtools.hxx> +#include <vcl/jobset.hxx> +#include <vcl/mapmod.hxx> +#include <vcl/msgbox.hxx> +#include <vcl/settings.hxx> +#include <vcl/sound.hxx> +#include <vcl/svapp.hxx> +#include <vcl/timer.hxx> +#include <vcl/wrkwin.hxx> +#include <vector> + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/runtime/dllmgr-none.cxx b/basic/source/runtime/dllmgr-none.cxx index 360128405723..28f0005b21d8 100644 --- a/basic/source/runtime/dllmgr-none.cxx +++ b/basic/source/runtime/dllmgr-none.cxx @@ -20,8 +20,8 @@ #include <sal/config.h> #if defined(WNT) -#include <windows.h> -#undef GetObject +#include <prewin.h> +#include <postwin.h> #endif #include <algorithm> diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx index d1dc86a01caa..407b3f3bf8e4 100644 --- a/basic/source/runtime/dllmgr-x64.cxx +++ b/basic/source/runtime/dllmgr-x64.cxx @@ -20,8 +20,8 @@ #include <sal/config.h> #if defined(WNT) -#include <windows.h> -#undef GetObject +#include <prewin.h> +#include <postwin.h> #endif #include <algorithm> diff --git a/basic/source/runtime/dllmgr-x86.cxx b/basic/source/runtime/dllmgr-x86.cxx index d97f29897097..acc9cb5685e9 100644 --- a/basic/source/runtime/dllmgr-x86.cxx +++ b/basic/source/runtime/dllmgr-x86.cxx @@ -20,8 +20,8 @@ #include <sal/config.h> #if defined(WNT) -#include <windows.h> -#undef GetObject +#include <prewin.h> +#include <postwin.h> #endif #include <algorithm> |