Kaydet (Commit) 35e9897a authored tarafından Thomas Arnhold's avatar Thomas Arnhold

update_pch: add dba

3m32s -> 2m43s

Change-Id: I67f3d05fad90ca06754e8305387171f52b3d7095
üst 86d442c2
...@@ -16,6 +16,8 @@ $(eval $(call gb_Library_set_include,dba,\ ...@@ -16,6 +16,8 @@ $(eval $(call gb_Library_set_include,dba,\
-I$(WORKDIR)/YaccTarget/connectivity/source/parse \ -I$(WORKDIR)/YaccTarget/connectivity/source/parse \
)) ))
$(eval $(call gb_Library_set_precompiled_header,dba,$(SRCDIR)/dbaccess/inc/pch/precompiled_dba))
$(eval $(call gb_Library_add_defs,dba,\ $(eval $(call gb_Library_add_defs,dba,\
-DOOO_DLLIMPLEMENTATION_DBA \ -DOOO_DLLIMPLEMENTATION_DBA \
)) ))
......
/* -*- 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_dba.hxx"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This diff is collapsed.
...@@ -165,8 +165,8 @@ void OResultColumn::disposing() ...@@ -165,8 +165,8 @@ void OResultColumn::disposing()
namespace namespace
{ {
template< typename TYPE > template< typename T >
void obtain( Any& _out_rValue, ::boost::optional< TYPE > _rCache, const sal_Int32 _nPos, const Reference < XResultSetMetaData >& _rxResultMeta, TYPE (SAL_CALL XResultSetMetaData::*Getter)( sal_Int32 ) ) void obtain( Any& _out_rValue, ::boost::optional< T > _rCache, const sal_Int32 _nPos, const Reference < XResultSetMetaData >& _rxResultMeta, T (SAL_CALL XResultSetMetaData::*Getter)( sal_Int32 ) )
{ {
if ( !_rCache ) if ( !_rCache )
_rCache.reset( (_rxResultMeta.get()->*Getter)( _nPos ) ); _rCache.reset( (_rxResultMeta.get()->*Getter)( _nPos ) );
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "SharedConnection.hxx" #include "SharedConnection.hxx"
#include <tools/debug.hxx> #include <tools/debug.hxx>
#include <comphelper/uno3.hxx>
namespace dbaccess namespace dbaccess
{ {
...@@ -151,6 +151,8 @@ Reference< ::com::sun::star::container::XNameAccess > SAL_CALL OSharedConnection ...@@ -151,6 +151,8 @@ Reference< ::com::sun::star::container::XNameAccess > SAL_CALL OSharedConnection
return m_xConnection->getTypeMap(); return m_xConnection->getTypeMap();
} }
IMPLEMENT_GET_IMPLEMENTATION_ID( OSharedConnection )
} // namespace dbaccess } // namespace dbaccess
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -121,10 +121,6 @@ namespace dbaccess ...@@ -121,10 +121,6 @@ namespace dbaccess
virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getTypeMap( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getTypeMap( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
}; };
#ifdef IMPLEMENT_GET_IMPLEMENTATION_ID
IMPLEMENT_GET_IMPLEMENTATION_ID( OSharedConnection );
#endif
} // namespace dbaccess } // namespace dbaccess
#endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_SHAREDCONNECTION_HXX #endif // INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_SHAREDCONNECTION_HXX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment