basegfx/Library_basegfx.mk | 2 basegfx/inc/pch/precompiled_basegfx.cxx | 12 ++ basegfx/inc/pch/precompiled_basegfx.hxx | 65 ++++++++++ svl/Library_svl.mk | 2 svl/inc/pch/precompiled_svl.cxx | 12 ++ svl/inc/pch/precompiled_svl.hxx | 179 ++++++++++++++++++++++++++++++ svl/qa/unit/svl.cxx | 8 - svl/qa/unit/test_URIHelper.cxx | 60 +++++----- svl/qa/unit/test_lngmisc.cxx | 2 svl/source/config/asiancfg.cxx | 42 +++---- svl/source/config/cjkoptions.cxx | 2 svl/source/config/ctloptions.cxx | 2 svl/source/fsstor/fsfactory.cxx | 2 svl/source/fsstor/ostreamcontainer.hxx | 2 svl/source/items/cenumitm.cxx | 2 svl/source/items/whassert.hxx | 4 svl/source/misc/getstringresource.cxx | 18 +-- svl/source/misc/getstringresource.hxx | 4 svl/source/misc/inethist.cxx | 4 svl/source/misc/lngmisc.cxx | 2 svl/source/misc/sharedstring.cxx | 2 svl/source/misc/sharedstringpool.cxx | 4 svl/source/misc/urihelper.cxx | 46 +++---- svl/source/numbers/zformat.cxx | 2 svl/source/passwordcontainer/syscreds.cxx | 2 svl/source/passwordcontainer/syscreds.hxx | 8 - svl/source/uno/pathservice.cxx | 4 svl/source/uno/registerservices.cxx | 4 28 files changed, 385 insertions(+), 113 deletions(-)
New commits: commit 525f7b280ff46fe9519e555c4a382e83bcfb8c98 Author: Thomas Arnhold <[email protected]> Date: Thu May 15 09:15:10 2014 +0200 update_pch: add svl 55s -> 28s How to find possible pch candidates: for i in `git grep -l 'gb_Library_set' -- '*.mk' | sort -u`; do if [ $(git grep 'precompiled_' $i | wc -l) == 0 ]; then echo missing: $(sed -n -e '/gb_Library_add_exception_objects/,/))/ p' $i | wc -l) files in $i else echo ok: $i fi done | sort -h -t' ' -k2 Change-Id: Ib9fe16c0afb6e6687881c987c3af7bf59b929fd4 diff --git a/svl/Library_svl.mk b/svl/Library_svl.mk index a53b223..2b337ff 100644 --- a/svl/Library_svl.mk +++ b/svl/Library_svl.mk @@ -32,6 +32,8 @@ $(eval $(call gb_Library_use_custom_headers,svl,\ officecfg/registry \ )) +$(eval $(call gb_Library_set_precompiled_header,svl,$(SRCDIR)/svl/inc/pch/precompiled_svl)) + $(eval $(call gb_Library_use_sdk_api,svl)) $(eval $(call gb_Library_add_defs,svl,\ diff --git a/svl/inc/pch/precompiled_svl.cxx b/svl/inc/pch/precompiled_svl.cxx new file mode 100644 index 0000000..5a04dfa --- /dev/null +++ b/svl/inc/pch/precompiled_svl.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_svl.hxx" + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svl/inc/pch/precompiled_svl.hxx b/svl/inc/pch/precompiled_svl.hxx new file mode 100644 index 0000000..91615a8 --- /dev/null +++ b/svl/inc/pch/precompiled_svl.hxx @@ -0,0 +1,179 @@ +/* -*- 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 "officecfg/Office/Common.hxx" +#include <algorithm> +#include <assert.h> +#include <boost/noncopyable.hpp> +#include <boost/numeric/conversion/cast.hpp> +#include <boost/ptr_container/ptr_map.hpp> +#include <boost/scoped_array.hpp> +#include <boost/scoped_ptr.hpp> +#include <boost/unordered_map.hpp> +#include <cassert> +#include <cmath> +#include <com/sun/star/awt/Point.hpp> +#include <com/sun/star/awt/Rectangle.hpp> +#include <com/sun/star/awt/Size.hpp> +#include <com/sun/star/beans/PropertyAttribute.hpp> +#include <com/sun/star/beans/PropertyValue.hpp> +#include <com/sun/star/beans/PropertyValues.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/configuration/theDefaultProvider.hpp> +#include <com/sun/star/container/ElementExistException.hpp> +#include <com/sun/star/container/NoSuchElementException.hpp> +#include <com/sun/star/container/XNameAccess.hpp> +#include <com/sun/star/container/XNameContainer.hpp> +#include <com/sun/star/frame/XConfigManager.hpp> +#include <com/sun/star/i18n/AmPmValue.hpp> +#include <com/sun/star/i18n/CalendarDisplayCode.hpp> +#include <com/sun/star/i18n/CalendarDisplayIndex.hpp> +#include <com/sun/star/i18n/CalendarFieldIndex.hpp> +#include <com/sun/star/i18n/KNumberFormatType.hpp> +#include <com/sun/star/i18n/KNumberFormatUsage.hpp> +#include <com/sun/star/i18n/LocaleCalendar.hpp> +#include <com/sun/star/i18n/ScriptType.hpp> +#include <com/sun/star/i18n/TransliterationModulesExtra.hpp> +#include <com/sun/star/io/WrongFormatException.hpp> +#include <com/sun/star/lang/Locale.hpp> +#include <com/sun/star/lang/XComponent.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <com/sun/star/registry/XRegistryKey.hpp> +#include <com/sun/star/script/Converter.hpp> +#include <com/sun/star/ucb/Command.hpp> +#include <com/sun/star/ucb/IllegalIdentifierException.hpp> +#include <com/sun/star/ucb/InsertCommandArgument.hpp> +#include <com/sun/star/ucb/InteractiveIOException.hpp> +#include <com/sun/star/ucb/NameClashException.hpp> +#include <com/sun/star/ucb/SimpleFileAccess.hpp> +#include <com/sun/star/ucb/UniversalContentBroker.hpp> +#include <com/sun/star/ucb/UnsupportedCommandException.hpp> +#include <com/sun/star/ucb/XCommandEnvironment.hpp> +#include <com/sun/star/ucb/XCommandProcessor.hpp> +#include <com/sun/star/ucb/XContent.hpp> +#include <com/sun/star/ucb/XSimpleFileAccess.hpp> +#include <com/sun/star/ucb/XUniversalContentBroker.hpp> +#include <com/sun/star/uno/Any.h> +#include <com/sun/star/uno/Any.hxx> +#include <com/sun/star/uno/Exception.hpp> +#include <com/sun/star/uno/Reference.hxx> +#include <com/sun/star/uno/RuntimeException.hpp> +#include <com/sun/star/uno/Sequence.hxx> +#include <com/sun/star/uno/XComponentContext.hpp> +#include <com/sun/star/uri/UriReferenceFactory.hpp> +#include <com/sun/star/uri/XUriReference.hpp> +#include <com/sun/star/uri/XUriReferenceFactory.hpp> +#include <com/sun/star/util/Date.hpp> +#include <com/sun/star/util/DateTime.hpp> +#include <com/sun/star/util/XPropertyReplace.hpp> +#include <com/sun/star/util/XReplaceDescriptor.hpp> +#include <com/sun/star/util/XReplaceable.hpp> +#include <com/sun/star/util/XSearchDescriptor.hpp> +#include <com/sun/star/util/XSearchable.hpp> +#include <comphelper/configuration.hxx> +#include <comphelper/extract.hxx> +#include <comphelper/flagguard.hxx> +#include <comphelper/processfactory.hxx> +#include <comphelper/sequence.hxx> +#include <comphelper/servicehelper.hxx> +#include <comphelper/sharedmutex.hxx> +#include <comphelper/string.hxx> +#include <cppuhelper/factory.hxx> +#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/supportsservice.hxx> +#include <cppuhelper/weakref.hxx> +#include <cstdarg> +#include <cstdlib> +#include <ctype.h> +#include <errno.h> +#include <float.h> +#include <functional> +#include <i18nlangtag/lang.h> +#include <i18nlangtag/languagetag.hxx> +#include <i18nlangtag/mslangid.hxx> +#include <limits.h> +#include <limits> +#include <list> +#include <map> +#include <math.h> +#include <osl/diagnose.h> +#include <osl/endian.h> +#include <osl/file.h> +#include <osl/file.hxx> +#include <osl/mutex.hxx> +#include <osl/security.hxx> +#include <osl/socket.hxx> +#include <osl/time.h> +#include <rtl/alloc.h> +#include <rtl/crc.h> +#include <rtl/digest.h> +#include <rtl/instance.hxx> +#include <rtl/math.hxx> +#include <rtl/strbuf.hxx> +#include <rtl/string.hxx> +#include <rtl/ustrbuf.hxx> +#include <rtl/ustring.h> +#include <rtl/ustring.hxx> +#include <sal/config.h> +#include <sal/log.hxx> +#include <sal/macros.h> +#include <sal/types.h> +#include <salhelper/linkhelper.hxx> +#include <set> +#include <stdexcept> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <tools/bigint.hxx> +#include <tools/color.hxx> +#include <tools/date.hxx> +#include <tools/debug.hxx> +#include <tools/diagnose_ex.h> +#include <tools/inetmime.hxx> +#include <tools/mapunit.hxx> +#include <tools/resmgr.hxx> +#include <tools/simplerm.hxx> +#include <tools/solar.h> +#include <tools/stream.hxx> +#include <tools/tenccvt.hxx> +#include <tools/time.hxx> +#include <tools/urlobj.hxx> +#include <tools/vcompat.hxx> +#include <tools/wldcrd.hxx> +#include <ucbhelper/content.hxx> +#include <unotools/bootstrap.hxx> +#include <unotools/calendarwrapper.hxx> +#include <unotools/charclass.hxx> +#include <unotools/configitem.hxx> +#include <unotools/digitgroupingiterator.hxx> +#include <unotools/intlwrapper.hxx> +#include <unotools/localedatawrapper.hxx> +#include <unotools/misccfg.hxx> +#include <unotools/nativenumberwrapper.hxx> +#include <unotools/numberformatcodewrapper.hxx> +#include <unotools/options.hxx> +#include <unotools/pathoptions.hxx> +#include <unotools/searchopt.hxx> +#include <unotools/streamwrap.hxx> +#include <unotools/syslocale.hxx> +#include <unotools/syslocaleoptions.hxx> +#include <unotools/useroptions.hxx> +#include <utility> +#include <vector> + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ commit 9081583e59ba8d3a776d812fa280a929c88a69f1 Author: Thomas Arnhold <[email protected]> Date: Thu May 15 09:12:11 2014 +0200 fix-includes.pl: svl Change-Id: I18fb7a677e2bb98c83f43f5af3fa988393dc23f9 diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index 47c9ff8..9090c56 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -31,10 +31,10 @@ #include <i18nlangtag/lang.h> -#include "svl/zforlist.hxx" -#include "svl/zformat.hxx" -#include "svl/sharedstringpool.hxx" -#include "unotools/syslocale.hxx" +#include <svl/zforlist.hxx> +#include <svl/zformat.hxx> +#include <svl/sharedstringpool.hxx> +#include <unotools/syslocale.hxx> #include <boost/scoped_ptr.hpp> diff --git a/svl/qa/unit/test_URIHelper.cxx b/svl/qa/unit/test_URIHelper.cxx index 322fe62e..cedebdf 100644 --- a/svl/qa/unit/test_URIHelper.cxx +++ b/svl/qa/unit/test_URIHelper.cxx @@ -20,41 +20,41 @@ #include <cassert> #include <cstddef> -#include "com/sun/star/lang/Locale.hpp" -#include "com/sun/star/lang/XComponent.hpp" -#include "com/sun/star/lang/XMultiServiceFactory.hpp" -#include "com/sun/star/ucb/Command.hpp" -#include "com/sun/star/ucb/CommandAbortedException.hpp" -#include "com/sun/star/ucb/IllegalIdentifierException.hpp" -#include "com/sun/star/ucb/UniversalContentBroker.hpp" -#include "com/sun/star/ucb/XCommandProcessor.hpp" -#include "com/sun/star/ucb/XContent.hpp" -#include "com/sun/star/ucb/XContentIdentifier.hpp" -#include "com/sun/star/ucb/XContentProvider.hpp" -#include "com/sun/star/uno/Any.hxx" -#include "com/sun/star/uno/Exception.hpp" -#include "com/sun/star/uno/Reference.hxx" -#include "com/sun/star/uno/RuntimeException.hpp" -#include "com/sun/star/uno/XComponentContext.hpp" -#include "com/sun/star/uri/XUriReference.hpp" -#include "cppuhelper/bootstrap.hxx" -#include "cppuhelper/implbase1.hxx" -#include "cppuhelper/implbase2.hxx" +#include <com/sun/star/lang/Locale.hpp> +#include <com/sun/star/lang/XComponent.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/ucb/Command.hpp> +#include <com/sun/star/ucb/CommandAbortedException.hpp> +#include <com/sun/star/ucb/IllegalIdentifierException.hpp> +#include <com/sun/star/ucb/UniversalContentBroker.hpp> +#include <com/sun/star/ucb/XCommandProcessor.hpp> +#include <com/sun/star/ucb/XContent.hpp> +#include <com/sun/star/ucb/XContentIdentifier.hpp> +#include <com/sun/star/ucb/XContentProvider.hpp> +#include <com/sun/star/uno/Any.hxx> +#include <com/sun/star/uno/Exception.hpp> +#include <com/sun/star/uno/Reference.hxx> +#include <com/sun/star/uno/RuntimeException.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> +#include <com/sun/star/uri/XUriReference.hpp> +#include <cppuhelper/bootstrap.hxx> +#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase2.hxx> #include "cppunit/TestCase.h" #include "cppunit/TestFixture.h" #include "cppunit/TestSuite.h" #include "cppunit/extensions/HelperMacros.h" #include "cppunit/plugin/TestPlugIn.h" -#include "rtl/strbuf.hxx" -#include "rtl/string.h" -#include "rtl/string.hxx" -#include "rtl/textenc.h" -#include "rtl/ustring.h" -#include "rtl/ustring.hxx" -#include "sal/macros.h" -#include "sal/types.h" -#include "svl/urihelper.hxx" -#include "unotools/charclass.hxx" +#include <rtl/strbuf.hxx> +#include <rtl/string.h> +#include <rtl/string.hxx> +#include <rtl/textenc.h> +#include <rtl/ustring.h> +#include <rtl/ustring.hxx> +#include <sal/macros.h> +#include <sal/types.h> +#include <svl/urihelper.hxx> +#include <unotools/charclass.hxx> namespace com { namespace sun { namespace star { namespace ucb { class XCommandEnvironment; diff --git a/svl/qa/unit/test_lngmisc.cxx b/svl/qa/unit/test_lngmisc.cxx index 0033d03..4b5596c 100644 --- a/svl/qa/unit/test_lngmisc.cxx +++ b/svl/qa/unit/test_lngmisc.cxx @@ -13,7 +13,7 @@ #include "cppunit/extensions/HelperMacros.h" #include "cppunit/plugin/TestPlugIn.h" -#include "svl/lngmisc.hxx" +#include <svl/lngmisc.hxx> #include <rtl/ustrbuf.hxx> diff --git a/svl/source/config/asiancfg.cxx b/svl/source/config/asiancfg.cxx index b644705..f06c909 100644 --- a/svl/source/config/asiancfg.cxx +++ b/svl/source/config/asiancfg.cxx @@ -17,31 +17,31 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "sal/config.h" +#include <sal/config.h> #include <cassert> -#include "boost/noncopyable.hpp" -#include "com/sun/star/beans/XPropertySet.hpp" -#include "com/sun/star/container/ElementExistException.hpp" -#include "com/sun/star/container/NoSuchElementException.hpp" -#include "com/sun/star/container/XNameAccess.hpp" -#include "com/sun/star/container/XNameContainer.hpp" -#include "com/sun/star/lang/Locale.hpp" -#include "com/sun/star/lang/XSingleServiceFactory.hpp" -#include "com/sun/star/uno/Any.hxx" -#include "com/sun/star/uno/Reference.hxx" -#include "com/sun/star/uno/Sequence.hxx" -#include "comphelper/configuration.hxx" -#include "comphelper/processfactory.hxx" +#include <boost/noncopyable.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/container/ElementExistException.hpp> +#include <com/sun/star/container/NoSuchElementException.hpp> +#include <com/sun/star/container/XNameAccess.hpp> +#include <com/sun/star/container/XNameContainer.hpp> +#include <com/sun/star/lang/Locale.hpp> +#include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <com/sun/star/uno/Any.hxx> +#include <com/sun/star/uno/Reference.hxx> +#include <com/sun/star/uno/Sequence.hxx> +#include <comphelper/configuration.hxx> +#include <comphelper/processfactory.hxx> #include "officecfg/Office/Common.hxx" -#include "rtl/ustrbuf.hxx" -#include "rtl/ustring.h" -#include "rtl/ustring.hxx" -#include "sal/log.hxx" -#include "sal/types.h" -#include "i18nlangtag/languagetag.hxx" -#include "svl/asiancfg.hxx" +#include <rtl/ustrbuf.hxx> +#include <rtl/ustring.h> +#include <rtl/ustring.hxx> +#include <sal/log.hxx> +#include <sal/types.h> +#include <i18nlangtag/languagetag.hxx> +#include <svl/asiancfg.hxx> namespace { diff --git a/svl/source/config/cjkoptions.cxx b/svl/source/config/cjkoptions.cxx index cf2500e..b8c9788 100644 --- a/svl/source/config/cjkoptions.cxx +++ b/svl/source/config/cjkoptions.cxx @@ -29,7 +29,7 @@ #include <osl/mutex.hxx> #include <rtl/instance.hxx> -#include <itemholder2.hxx> +#include "itemholder2.hxx" using namespace ::com::sun::star::uno; using namespace ::rtl; diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx index 37a193f..b6c3967 100644 --- a/svl/source/config/ctloptions.cxx +++ b/svl/source/config/ctloptions.cxx @@ -30,7 +30,7 @@ #include <svl/smplhint.hxx> #include <rtl/instance.hxx> #include <unotools/syslocale.hxx> -#include <itemholder2.hxx> +#include "itemholder2.hxx" using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/svl/source/fsstor/fsfactory.cxx b/svl/source/fsstor/fsfactory.cxx index e38541d..6d820fd 100644 --- a/svl/source/fsstor/fsfactory.cxx +++ b/svl/source/fsstor/fsfactory.cxx @@ -19,7 +19,7 @@ #include "fsfactory.hxx" -#include "cppuhelper/factory.hxx" +#include <cppuhelper/factory.hxx> #include <com/sun/star/ucb/XSimpleFileAccess.hpp> #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/io/XSeekable.hpp> diff --git a/svl/source/fsstor/ostreamcontainer.hxx b/svl/source/fsstor/ostreamcontainer.hxx index b9ab7ce..f998664 100644 --- a/svl/source/fsstor/ostreamcontainer.hxx +++ b/svl/source/fsstor/ostreamcontainer.hxx @@ -28,7 +28,7 @@ #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/io/XOutputStream.hpp> #include <com/sun/star/io/XStream.hpp> -#include "com/sun/star/io/XAsyncOutputMonitor.hpp" +#include <com/sun/star/io/XAsyncOutputMonitor.hpp> #include <cppuhelper/weak.hxx> #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/interfacecontainer.h> diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx index d0213a5..49250a7 100644 --- a/svl/source/items/cenumitm.cxx +++ b/svl/source/items/cenumitm.cxx @@ -21,7 +21,7 @@ #include <tools/stream.hxx> #include <svl/cenumitm.hxx> #include <svl/eitem.hxx> -#include <whassert.hxx> +#include "whassert.hxx" #include <comphelper/extract.hxx> diff --git a/svl/source/items/whassert.hxx b/svl/source/items/whassert.hxx index 8a02a7a..7c73688 100644 --- a/svl/source/items/whassert.hxx +++ b/svl/source/items/whassert.hxx @@ -19,9 +19,9 @@ #ifndef INCLUDED_SVL_SOURCE_ITEMS_WHASSERT_HXX #define INCLUDED_SVL_SOURCE_ITEMS_WHASSERT_HXX -#include "sal/config.h" +#include <sal/config.h> -#include "sal/log.hxx" +#include <sal/log.hxx> #define SFX_ASSERT( bCondition, nId, sMessage ) SAL_WARN_IF( \ !(bCondition), "svl", (sMessage) << ", with ID/pos " << (nId)); diff --git a/svl/source/misc/getstringresource.cxx b/svl/source/misc/getstringresource.cxx index f59295e..086c704 100644 --- a/svl/source/misc/getstringresource.cxx +++ b/svl/source/misc/getstringresource.cxx @@ -17,19 +17,19 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "sal/config.h" +#include <sal/config.h> #include <map> -#include "boost/noncopyable.hpp" -#include "boost/scoped_ptr.hpp" +#include <boost/noncopyable.hpp> +#include <boost/scoped_ptr.hpp> #include <i18nlangtag/languagetag.hxx> -#include "rtl/instance.hxx" -#include "rtl/ustrbuf.hxx" -#include "rtl/ustring.hxx" -#include "sal/types.h" -#include "tools/resmgr.hxx" -#include "tools/simplerm.hxx" +#include <rtl/instance.hxx> +#include <rtl/ustrbuf.hxx> +#include <rtl/ustring.hxx> +#include <sal/types.h> +#include <tools/resmgr.hxx> +#include <tools/simplerm.hxx> #include "getstringresource.hxx" diff --git a/svl/source/misc/getstringresource.hxx b/svl/source/misc/getstringresource.hxx index afd0cf7..3fcde38 100644 --- a/svl/source/misc/getstringresource.hxx +++ b/svl/source/misc/getstringresource.hxx @@ -20,9 +20,9 @@ #ifndef INCLUDED_SVL_SOURCE_MISC_GETSTRINGRESOURCE_HXX #define INCLUDED_SVL_SOURCE_MISC_GETSTRINGRESOURCE_HXX -#include "sal/config.h" +#include <sal/config.h> -#include "sal/types.h" +#include <sal/types.h> namespace com { namespace sun { namespace star { namespace lang { struct Locale; diff --git a/svl/source/misc/inethist.cxx b/svl/source/misc/inethist.cxx index b199b01..13909b4 100644 --- a/svl/source/misc/inethist.cxx +++ b/svl/source/misc/inethist.cxx @@ -23,8 +23,8 @@ #include <string.h> #include <boost/noncopyable.hpp> -#include "rtl/instance.hxx" -#include "rtl/crc.h" +#include <rtl/instance.hxx> +#include <rtl/crc.h> #include <tools/solar.h> #include <tools/debug.hxx> #include <tools/urlobj.hxx> diff --git a/svl/source/misc/lngmisc.cxx b/svl/source/misc/lngmisc.cxx index 2deb2d3..769d783 100644 --- a/svl/source/misc/lngmisc.cxx +++ b/svl/source/misc/lngmisc.cxx @@ -18,7 +18,7 @@ */ -#include "svl/lngmisc.hxx" +#include <svl/lngmisc.hxx> #include <comphelper/string.hxx> #include <rtl/ustrbuf.hxx> diff --git a/svl/source/misc/sharedstring.cxx b/svl/source/misc/sharedstring.cxx index ed4257d..8137952 100644 --- a/svl/source/misc/sharedstring.cxx +++ b/svl/source/misc/sharedstring.cxx @@ -7,7 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "svl/sharedstring.hxx" +#include <svl/sharedstring.hxx> namespace svl { diff --git a/svl/source/misc/sharedstringpool.cxx b/svl/source/misc/sharedstringpool.cxx index ef4ee0f..e78e096 100644 --- a/svl/source/misc/sharedstringpool.cxx +++ b/svl/source/misc/sharedstringpool.cxx @@ -7,8 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "svl/sharedstringpool.hxx" -#include "unotools/charclass.hxx" +#include <svl/sharedstringpool.hxx> +#include <unotools/charclass.hxx> namespace svl { diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx index 1322c30..11fb9c0 100644 --- a/svl/source/misc/urihelper.cxx +++ b/svl/source/misc/urihelper.cxx @@ -18,31 +18,31 @@ */ #include <svl/urihelper.hxx> -#include "com/sun/star/ucb/Command.hpp" -#include "com/sun/star/ucb/IllegalIdentifierException.hpp" -#include "com/sun/star/ucb/UniversalContentBroker.hpp" -#include "com/sun/star/ucb/UnsupportedCommandException.hpp" -#include "com/sun/star/ucb/XCommandEnvironment.hpp" -#include "com/sun/star/ucb/XCommandProcessor.hpp" -#include "com/sun/star/ucb/XContent.hpp" -#include "com/sun/star/ucb/XUniversalContentBroker.hpp" -#include "com/sun/star/uno/Any.hxx" -#include "com/sun/star/uno/Exception.hpp" -#include "com/sun/star/uno/Reference.hxx" -#include "com/sun/star/uno/RuntimeException.hpp" -#include "com/sun/star/uno/XComponentContext.hpp" -#include "com/sun/star/uri/UriReferenceFactory.hpp" -#include "com/sun/star/uri/XUriReference.hpp" -#include "com/sun/star/uri/XUriReferenceFactory.hpp" -#include "comphelper/processfactory.hxx" -#include "osl/diagnose.h" -#include "rtl/ustrbuf.hxx" -#include "rtl/ustring.h" -#include "rtl/ustring.hxx" -#include "sal/types.h" +#include <com/sun/star/ucb/Command.hpp> +#include <com/sun/star/ucb/IllegalIdentifierException.hpp> +#include <com/sun/star/ucb/UniversalContentBroker.hpp> +#include <com/sun/star/ucb/UnsupportedCommandException.hpp> +#include <com/sun/star/ucb/XCommandEnvironment.hpp> +#include <com/sun/star/ucb/XCommandProcessor.hpp> +#include <com/sun/star/ucb/XContent.hpp> +#include <com/sun/star/ucb/XUniversalContentBroker.hpp> +#include <com/sun/star/uno/Any.hxx> +#include <com/sun/star/uno/Exception.hpp> +#include <com/sun/star/uno/Reference.hxx> +#include <com/sun/star/uno/RuntimeException.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> +#include <com/sun/star/uri/UriReferenceFactory.hpp> +#include <com/sun/star/uri/XUriReference.hpp> +#include <com/sun/star/uri/XUriReferenceFactory.hpp> +#include <comphelper/processfactory.hxx> +#include <osl/diagnose.h> +#include <rtl/ustrbuf.hxx> +#include <rtl/ustring.h> +#include <rtl/ustring.hxx> +#include <sal/types.h> #include <tools/inetmime.hxx> #include <unotools/charclass.hxx> -#include "rtl/instance.hxx" +#include <rtl/instance.hxx> using namespace com::sun::star; diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 575c6ea..262b686 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -37,7 +37,7 @@ #include <com/sun/star/i18n/AmPmValue.hpp> #include <svl/zformat.hxx> -#include <zforscan.hxx> +#include "zforscan.hxx" #include "zforfind.hxx" #include <svl/zforlist.hxx> diff --git a/svl/source/passwordcontainer/syscreds.cxx b/svl/source/passwordcontainer/syscreds.cxx index dbb42053..bbb59cd 100644 --- a/svl/source/passwordcontainer/syscreds.cxx +++ b/svl/source/passwordcontainer/syscreds.cxx @@ -18,7 +18,7 @@ */ #include "syscreds.hxx" -#include "com/sun/star/beans/PropertyValue.hpp" +#include <com/sun/star/beans/PropertyValue.hpp> using namespace com::sun::star; diff --git a/svl/source/passwordcontainer/syscreds.hxx b/svl/source/passwordcontainer/syscreds.hxx index 69f739d..faaf1d0 100644 --- a/svl/source/passwordcontainer/syscreds.hxx +++ b/svl/source/passwordcontainer/syscreds.hxx @@ -22,10 +22,10 @@ #include <set> #include <memory> -#include "osl/mutex.hxx" -#include "rtl/ustring.hxx" -#include "com/sun/star/uno/Sequence.hxx" -#include "unotools/configitem.hxx" +#include <osl/mutex.hxx> +#include <rtl/ustring.hxx> +#include <com/sun/star/uno/Sequence.hxx> +#include <unotools/configitem.hxx> class SysCredentialsConfig; diff --git a/svl/source/uno/pathservice.cxx b/svl/source/uno/pathservice.cxx index 7dc082a..0a071fc 100644 --- a/svl/source/uno/pathservice.cxx +++ b/svl/source/uno/pathservice.cxx @@ -19,8 +19,8 @@ #include <unotools/pathoptions.hxx> -#include "sal/types.h" -#include "rtl/ustring.hxx" +#include <sal/types.h> +#include <rtl/ustring.hxx> #include <cppuhelper/implbase2.hxx> #include <com/sun/star/frame/XConfigManager.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/svl/source/uno/registerservices.cxx b/svl/source/uno/registerservices.cxx index a862a81..64277fe 100644 --- a/svl/source/uno/registerservices.cxx +++ b/svl/source/uno/registerservices.cxx @@ -17,8 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "sal/types.h" -#include "rtl/ustring.hxx" +#include <sal/types.h> +#include <rtl/ustring.hxx> #include <cppuhelper/factory.hxx> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> commit 7e586cee33a978703bfc11571adc3cf68a4d714e Author: Thomas Arnhold <[email protected]> Date: Thu May 15 09:06:06 2014 +0200 update_pch: add basegfx 29s -> 14s Change-Id: If9fe85d21d471b13c92a3ca1f1af57f146c8565d diff --git a/basegfx/Library_basegfx.mk b/basegfx/Library_basegfx.mk index 3666647..ac5878a 100644 --- a/basegfx/Library_basegfx.mk +++ b/basegfx/Library_basegfx.mk @@ -11,6 +11,8 @@ $(eval $(call gb_Library_Library,basegfx)) $(eval $(call gb_Library_use_external,basegfx,boost_headers)) +$(eval $(call gb_Library_set_precompiled_header,basegfx,$(SRCDIR)/basegfx/inc/pch/precompiled_basegfx)) + $(eval $(call gb_Library_use_sdk_api,basegfx)) $(eval $(call gb_Library_use_libraries,basegfx,\ diff --git a/basegfx/inc/pch/precompiled_basegfx.cxx b/basegfx/inc/pch/precompiled_basegfx.cxx new file mode 100644 index 0000000..f43d7d6 --- /dev/null +++ b/basegfx/inc/pch/precompiled_basegfx.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_basegfx.hxx" + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basegfx/inc/pch/precompiled_basegfx.hxx b/basegfx/inc/pch/precompiled_basegfx.hxx new file mode 100644 index 0000000..50b477c --- /dev/null +++ b/basegfx/inc/pch/precompiled_basegfx.hxx @@ -0,0 +1,65 @@ +/* -*- 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 <algorithm> +#include <boost/bind.hpp> +#include <boost/scoped_ptr.hpp> +#include <boost/tuple/tuple.hpp> +#include <boost/utility.hpp> +#include <com/sun/star/awt/Point.hpp> +#include <com/sun/star/awt/Rectangle.hpp> +#include <com/sun/star/awt/Size.hpp> +#include <com/sun/star/drawing/DoubleSequence.hpp> +#include <com/sun/star/drawing/FlagSequence.hpp> +#include <com/sun/star/drawing/LineCap.hpp> +#include <com/sun/star/drawing/PointSequence.hpp> +#include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp> +#include <com/sun/star/geometry/AffineMatrix2D.hpp> +#include <com/sun/star/geometry/AffineMatrix3D.hpp> +#include <com/sun/star/geometry/IntegerPoint2D.hpp> +#include <com/sun/star/geometry/IntegerRectangle2D.hpp> +#include <com/sun/star/geometry/IntegerSize2D.hpp> +#include <com/sun/star/geometry/Matrix2D.hpp> +#include <com/sun/star/geometry/RealBezierSegment2D.hpp> +#include <com/sun/star/geometry/RealPoint2D.hpp> +#include <com/sun/star/geometry/RealRectangle2D.hpp> +#include <com/sun/star/geometry/RealRectangle3D.hpp> +#include <com/sun/star/geometry/RealSize2D.hpp> +#include <com/sun/star/rendering/CompositeOperation.hpp> +#include <com/sun/star/rendering/RenderState.hpp> +#include <com/sun/star/rendering/ViewState.hpp> +#include <com/sun/star/rendering/XCanvas.hpp> +#include <com/sun/star/rendering/XGraphicDevice.hpp> +#include <com/sun/star/rendering/XPolyPolygon2D.hpp> +#include <com/sun/star/uno/Sequence.hxx> +#include <comphelper/sequence.hxx> +#include <cppuhelper/supportsservice.hxx> +#include <cstdio> +#include <deque> +#include <functional> +#include <limits> +#include <list> +#include <numeric> +#include <o3tl/vector_pool.hxx> +#include <osl/diagnose.h> +#include <rtl/instance.hxx> +#include <rtl/math.hxx> +#include <rtl/ustrbuf.hxx> +#include <rtl/ustring.hxx> +#include <utility> +#include <vector> + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
