diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-01 13:52:52 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-01 13:52:52 +0000 |
commit | 9f574861238399e1b0838f0309d1425bf785267d (patch) | |
tree | 00314563e5385378070017e853bb0fc7da516521 /connectivity/source/simpledbt | |
parent | 8262ac668844b0a50f1baa88cd50a64676b4c8d7 (diff) |
INTEGRATION: CWS dba24b (1.6.124); FILE MERGED
2007/09/04 20:44:13 fs 1.6.124.1: #i73237# +createFormattedColumnValue
Diffstat (limited to 'connectivity/source/simpledbt')
-rw-r--r-- | connectivity/source/simpledbt/dbtfactory.cxx | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/connectivity/source/simpledbt/dbtfactory.cxx b/connectivity/source/simpledbt/dbtfactory.cxx index a32802ed827b..8cac7fe32a6d 100644 --- a/connectivity/source/simpledbt/dbtfactory.cxx +++ b/connectivity/source/simpledbt/dbtfactory.cxx @@ -4,9 +4,9 @@ * * $RCSfile: dbtfactory.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: obo $ $Date: 2006-09-17 03:13:30 $ + * last change: $Author: hr $ $Date: 2007-11-01 14:52:52 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -36,12 +36,12 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_connectivity.hxx" +#include <connectivity/virtualdbtools.hxx> +#include <connectivity/formattedcolumnvalue.hxx> + #ifndef CONNECTIVITY_DBTOOLS_DBTFACTORY_HXX #include "dbtfactory.hxx" #endif -#ifndef CONNECTIVITY_VIRTUAL_DBTOOLS_HXX -#include <connectivity/virtualdbtools.hxx> -#endif #ifndef CONNECTIVITY_DBTOOLS_PARSER_SIMPLE_HXX #include "parser_s.hxx" #endif @@ -111,6 +111,14 @@ namespace connectivity } //---------------------------------------------------------------- + ::std::auto_ptr< ::dbtools::FormattedColumnValue > ODataAccessToolsFactory::createFormattedColumnValue( const ::comphelper::ComponentContext& _rContext, + const Reference< ::com::sun::star::sdbc::XRowSet >& _rxRowSet, const Reference< ::com::sun::star::beans::XPropertySet >& _rxColumn ) + { + ::std::auto_ptr< ::dbtools::FormattedColumnValue > pValue( new ::dbtools::FormattedColumnValue( _rContext, _rxRowSet, _rxColumn ) ); + return pValue; + } + + //---------------------------------------------------------------- ::rtl::Reference< simple::ISQLParser > ODataAccessToolsFactory::createSQLParser(const Reference< XMultiServiceFactory >& _rxServiceFactory,const IParseContext* _pContext) const { return new OSimpleSQLParser(_rxServiceFactory,_pContext); |