diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-12-09 16:59:27 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-10 14:46:50 +0100 |
commit | 4fec28cd468bb8a975eae69b625bd83cded52f7b (patch) | |
tree | 091ccfb510d7b09cf3ed7c56c947d7b2841b8812 /connectivity | |
parent | make all cxxobjects depend on the PCH timestamp (diff) | |
download | core-4fec28cd468bb8a975eae69b625bd83cded52f7b.tar.gz core-4fec28cd468bb8a975eae69b625bd83cded52f7b.zip |
new autogenerated PCH headers in connectivity
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/inc/pch/precompiled_file.hxx | 72 | ||||
-rw-r--r-- | connectivity/inc/pch/precompiled_flat.hxx | 54 | ||||
-rw-r--r-- | connectivity/source/drivers/file/FPreparedStatement.cxx | 8 | ||||
-rw-r--r-- | connectivity/source/drivers/file/fcomp.cxx | 14 |
4 files changed, 100 insertions, 48 deletions
diff --git a/connectivity/inc/pch/precompiled_file.hxx b/connectivity/inc/pch/precompiled_file.hxx index fd9b58e35dfd..92cefee2efa5 100644 --- a/connectivity/inc/pch/precompiled_file.hxx +++ b/connectivity/inc/pch/precompiled_file.hxx @@ -7,25 +7,61 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <vector> -#include <map> -#include <list> -#include <set> -#include <stack> +#include <algorithm> +#include <cmath> +#include <comphelper/extract.hxx> +#include <comphelper/processfactory.hxx> +#include <comphelper/property.hxx> +#include <comphelper/sequence.hxx> +#include <comphelper/types.hxx> +#include <comphelper/uno3.hxx> +#include <com/sun/star/beans/PropertyAttribute.hpp> +#include <com/sun/star/container/XChild.hpp> +#include <com/sun/star/container/XIndexAccess.hpp> +#include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/XUnoTunnel.hpp> +#include <com/sun/star/sdbc/ColumnValue.hpp> +#include <com/sun/star/sdbc/DataType.hpp> +#include <com/sun/star/sdbc/FetchDirection.hpp> +#include <com/sun/star/sdbc/KeyRule.hpp> +#include <com/sun/star/sdbc/ResultSetConcurrency.hpp> +#include <com/sun/star/sdbc/ResultSetType.hpp> +#include <com/sun/star/sdbc/XColumnLocate.hpp> +#include <com/sun/star/sdbcx/KeyType.hpp> +#include <com/sun/star/sdbc/XResultSet.hpp> +#include <com/sun/star/sdbc/XRow.hpp> +#include <com/sun/star/sdbcx/XIndexesSupplier.hpp> +#include <com/sun/star/sdb/SQLFilterOperator.hpp> +#include <com/sun/star/ucb/SearchCommandArgument.hpp> +#include <com/sun/star/ucb/SearchRecursion.hpp> +#include <com/sun/star/ucb/SortedDynamicResultSetFactory.hpp> +#include <com/sun/star/ucb/UniversalContentBroker.hpp> +#include <com/sun/star/ucb/XContent.hpp> +#include <com/sun/star/ucb/XContentIdentifier.hpp> +#include <com/sun/star/util/Date.hpp> +#include <com/sun/star/util/DateTime.hpp> +#include <com/sun/star/util/Time.hpp> +#include <cppuhelper/propshlp.hxx> +#include <cppuhelper/typeprovider.hxx> +#include <iostream> #include <iterator> -#include <memory> -#include <deque> +#include <i18npool/mslangid.hxx> +#include <osl/diagnose.h> +#include <osl/nlsupport.h> +#include <osl/thread.h> +#include <rtl/logfile.hxx> +#include <rtl/math.hxx> +#include <rtl/ustrbuf.hxx> +#include "sal/config.h" #include <stdio.h> -#include <stdlib.h> -#include <limits.h> -#include <iostream> -#include <cassert> -#include <cstdarg> -#include <sstream> -#include <boost/shared_ptr.hpp> -#include <boost/unordered_map.hpp> -#include <boost/unordered_set.hpp> -#include <boost/ptr_container/ptr_vector.hpp> -#include <boost/bind.hpp> +#include <tools/date.hxx> +#include <tools/datetime.hxx> +#include <tools/debug.hxx> +#include <tools/string.hxx> +#include <tools/time.hxx> +#include <tools/urlobj.hxx> +#include <ucbhelper/content.hxx> +#include <unotools/pathoptions.hxx> +#include <unotools/ucbstreamhelper.hxx> /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/inc/pch/precompiled_flat.hxx b/connectivity/inc/pch/precompiled_flat.hxx index fd9b58e35dfd..f0726091e05e 100644 --- a/connectivity/inc/pch/precompiled_flat.hxx +++ b/connectivity/inc/pch/precompiled_flat.hxx @@ -7,25 +7,41 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <vector> -#include <map> -#include <list> -#include <set> -#include <stack> -#include <iterator> -#include <memory> -#include <deque> +#include <comphelper/extract.hxx> +#include <comphelper/numbers.hxx> +#include <comphelper/processfactory.hxx> +#include <comphelper/sequence.hxx> +#include <comphelper/string.hxx> +#include <comphelper/types.hxx> +#include <com/sun/star/beans/XFastPropertySet.hpp> +#include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/XUnoTunnel.hpp> +#include <com/sun/star/sdbc/ColumnValue.hpp> +#include <com/sun/star/sdbc/DataType.hpp> +#include <com/sun/star/sdbc/KeyRule.hpp> +#include <com/sun/star/sdbc/ResultSetConcurrency.hpp> +#include <com/sun/star/sdbc/ResultSetType.hpp> +#include <com/sun/star/sdbcx/CompareBookmark.hpp> +#include <com/sun/star/sdbcx/KeyType.hpp> +#include <com/sun/star/sdbc/XResultSet.hpp> +#include <com/sun/star/sdbc/XRow.hpp> +#include <com/sun/star/sdbcx/XColumnsSupplier.hpp> +#include <com/sun/star/sdbcx/XDeleteRows.hpp> +#include <com/sun/star/sdbcx/XIndexesSupplier.hpp> +#include <com/sun/star/ucb/XContentAccess.hpp> +#include <com/sun/star/util/NumberFormat.hpp> +#include <com/sun/star/util/NumberFormatsSupplier.hpp> +#include <com/sun/star/util/NumberFormatter.hpp> +#include <cppuhelper/factory.hxx> +#include <ctype.h> +#include <i18npool/languagetag.hxx> +#include <osl/thread.h> +#include <rtl/logfile.hxx> +#include <rtl/math.hxx> #include <stdio.h> -#include <stdlib.h> -#include <limits.h> -#include <iostream> -#include <cassert> -#include <cstdarg> -#include <sstream> -#include <boost/shared_ptr.hpp> -#include <boost/unordered_map.hpp> -#include <boost/unordered_set.hpp> -#include <boost/ptr_container/ptr_vector.hpp> -#include <boost/bind.hpp> +#include <svl/converter.hxx> +#include <svl/zforlist.hxx> +#include <unotools/configmgr.hxx> +#include <unotools/syslocale.hxx> /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/drivers/file/FPreparedStatement.cxx b/connectivity/source/drivers/file/FPreparedStatement.cxx index f99cf3c959b6..bd256d5d79df 100644 --- a/connectivity/source/drivers/file/FPreparedStatement.cxx +++ b/connectivity/source/drivers/file/FPreparedStatement.cxx @@ -48,7 +48,7 @@ using namespace com::sun::star::beans; using namespace com::sun::star::sdbc; using namespace com::sun::star::sdbcx; using namespace com::sun::star::container; -using namespace com::sun::star::util; +using namespace com::sun::star; IMPLEMENT_SERVICE_INFO(OPreparedStatement,"com.sun.star.sdbc.driver.file.PreparedStatement","com.sun.star.sdbc.PreparedStatement"); @@ -231,20 +231,20 @@ void SAL_CALL OPreparedStatement::setByte( sal_Int32 parameterIndex, sal_Int8 x } // ------------------------------------------------------------------------- -void SAL_CALL OPreparedStatement::setDate( sal_Int32 parameterIndex, const Date& aData ) throw(SQLException, RuntimeException) +void SAL_CALL OPreparedStatement::setDate( sal_Int32 parameterIndex, const util::Date& aData ) throw(SQLException, RuntimeException) { RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "OPreparedStatement::setDate" ); setParameter(parameterIndex,DBTypeConversion::toDouble(aData)); } // ------------------------------------------------------------------------- -void SAL_CALL OPreparedStatement::setTime( sal_Int32 parameterIndex, const Time& aVal ) throw(SQLException, RuntimeException) +void SAL_CALL OPreparedStatement::setTime( sal_Int32 parameterIndex, const util::Time& aVal ) throw(SQLException, RuntimeException) { RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "OPreparedStatement::setTime" ); setParameter(parameterIndex,DBTypeConversion::toDouble(aVal)); } // ------------------------------------------------------------------------- -void SAL_CALL OPreparedStatement::setTimestamp( sal_Int32 parameterIndex, const DateTime& aVal ) throw(SQLException, RuntimeException) +void SAL_CALL OPreparedStatement::setTimestamp( sal_Int32 parameterIndex, const util::DateTime& aVal ) throw(SQLException, RuntimeException) { RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "OPreparedStatement::setTimestamp" ); setParameter(parameterIndex,DBTypeConversion::toDouble(aVal)); diff --git a/connectivity/source/drivers/file/fcomp.cxx b/connectivity/source/drivers/file/fcomp.cxx index 7dbb6c6d0fd3..e63969ac1132 100644 --- a/connectivity/source/drivers/file/fcomp.cxx +++ b/connectivity/source/drivers/file/fcomp.cxx @@ -41,7 +41,7 @@ using namespace com::sun::star::uno; using namespace com::sun::star::sdbc; using namespace com::sun::star::sdb; using namespace ::com::sun::star::container; -using namespace ::com::sun::star::util; +using namespace com::sun::star; DBG_NAME(OPredicateCompiler) //------------------------------------------------------------------ @@ -376,16 +376,16 @@ OOperand* OPredicateCompiler::execute_BETWEEN(OSQLParseNode* pPredicateNode) thr pOb2->setValue((double)pOb2->getValue()); break; case DataType::DATE: - pOb1->setValue((Date)pOb1->getValue()); - pOb2->setValue((Date)pOb2->getValue()); + pOb1->setValue((util::Date)pOb1->getValue()); + pOb2->setValue((util::Date)pOb2->getValue()); break; case DataType::TIME: - pOb1->setValue((Time)pOb1->getValue()); - pOb2->setValue((Time)pOb2->getValue()); + pOb1->setValue((util::Time)pOb1->getValue()); + pOb2->setValue((util::Time)pOb2->getValue()); break; case DataType::TIMESTAMP: - pOb1->setValue((DateTime)pOb1->getValue()); - pOb2->setValue((DateTime)pOb2->getValue()); + pOb1->setValue((util::DateTime)pOb1->getValue()); + pOb2->setValue((util::DateTime)pOb2->getValue()); break; } } |