Tag: cws_src680_dba24b
User: fs      
Date: 2007-09-04 20:44:16+0000
Modified:
   dba/connectivity/source/simpledbt/dbtfactory.cxx
   dba/connectivity/source/simpledbt/dbtfactory.hxx

Log:
 #i73237# +createFormattedColumnValue

File Changes:

Directory: /dba/connectivity/source/simpledbt/
==============================================

File [changed]: dbtfactory.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/simpledbt/dbtfactory.cxx?r1=1.6&r2=1.6.124.1
Delta lines:  +14 -6
--------------------
--- dbtfactory.cxx      2006-09-17 03:13:30+0000        1.6
+++ dbtfactory.cxx      2007-09-04 20:44:13+0000        1.6.124.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: dbtfactory.cxx,v $
  *
- *  $Revision: 1.6 $
+ *  $Revision: 1.6.124.1 $
  *
- *  last change: $Author: obo $ $Date: 2006/09/17 03:13:30 $
+ *  last change: $Author: fs $ $Date: 2007/09/04 20:44:13 $
  *
  *  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 @@
        }
 
        //----------------------------------------------------------------
+    ::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);

File [changed]: dbtfactory.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/simpledbt/dbtfactory.hxx?r1=1.5&r2=1.5.282.1
Delta lines:  +9 -3
-------------------
--- dbtfactory.hxx      2005-09-08 07:46:39+0000        1.5
+++ dbtfactory.hxx      2007-09-04 20:44:13+0000        1.5.282.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: dbtfactory.hxx,v $
  *
- *  $Revision: 1.5 $
+ *  $Revision: 1.5.282.1 $
  *
- *  last change: $Author: rt $ $Date: 2005/09/08 07:46:39 $
+ *  last change: $Author: fs $ $Date: 2007/09/04 20:44:13 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -74,6 +74,12 @@
 
                virtual ::rtl::Reference< simple::IDataAccessTools > 
getDataAccessTools();
 
+        virtual ::std::auto_ptr< ::dbtools::FormattedColumnValue >  
createFormattedColumnValue(
+            const ::comphelper::ComponentContext& _rContext,
+            const ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XRowSet >& _rxRowSet,
+            const ::com::sun::star::uno::Reference< 
::com::sun::star::beans::XPropertySet >& _rxColumn
+        );
+
                // IReference
                virtual oslInterlockedCount SAL_CALL acquire();
                virtual oslInterlockedCount SAL_CALL release();




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to