dbaccess: use constructor feature for ORowSet
Change-Id: Iabb04fde096e8d0bb92b3d796310354df5985e9a
This commit is contained in:
@@ -96,9 +96,11 @@ using namespace ::com::sun::star::util;
|
|||||||
using namespace ::cppu;
|
using namespace ::cppu;
|
||||||
using namespace ::osl;
|
using namespace ::osl;
|
||||||
|
|
||||||
extern "C" void SAL_CALL createRegistryInfo_ORowSet()
|
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* SAL_CALL
|
||||||
|
com_sun_star_comp_dba_ORowSet_get_implementation(css::uno::XComponentContext* context,
|
||||||
|
css::uno::Sequence<css::uno::Any> const &)
|
||||||
{
|
{
|
||||||
static ::dba::OAutoRegistration< ORowSet > aAutoRegistration;
|
return cppu::acquire(new ORowSet(context));
|
||||||
}
|
}
|
||||||
|
|
||||||
#define NOTIFY_LISTERNERS_CHECK(_rListeners,T,method) \
|
#define NOTIFY_LISTERNERS_CHECK(_rListeners,T,method) \
|
||||||
|
@@ -29,7 +29,6 @@ extern "C" void SAL_CALL createRegistryInfo_OCommandDefinition();
|
|||||||
extern "C" void SAL_CALL createRegistryInfo_OComponentDefinition();
|
extern "C" void SAL_CALL createRegistryInfo_OComponentDefinition();
|
||||||
extern "C" void SAL_CALL createRegistryInfo_ODatabaseDocument();
|
extern "C" void SAL_CALL createRegistryInfo_ODatabaseDocument();
|
||||||
extern "C" void SAL_CALL createRegistryInfo_ODatabaseSource();
|
extern "C" void SAL_CALL createRegistryInfo_ODatabaseSource();
|
||||||
extern "C" void SAL_CALL createRegistryInfo_ORowSet();
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -60,7 +60,6 @@ extern "C" void SAL_CALL createRegistryInfo_DBA()
|
|||||||
{
|
{
|
||||||
createRegistryInfo_OCommandDefinition();
|
createRegistryInfo_OCommandDefinition();
|
||||||
createRegistryInfo_OComponentDefinition();
|
createRegistryInfo_OComponentDefinition();
|
||||||
createRegistryInfo_ORowSet();
|
|
||||||
createRegistryInfo_ODatabaseDocument();
|
createRegistryInfo_ODatabaseDocument();
|
||||||
createRegistryInfo_ODatabaseSource();
|
createRegistryInfo_ODatabaseSource();
|
||||||
createRegistryInfo_DataAccessDescriptorFactory();
|
createRegistryInfo_DataAccessDescriptorFactory();
|
||||||
|
@@ -43,7 +43,8 @@
|
|||||||
<service name="com.sun.star.sdb.DataSource"/>
|
<service name="com.sun.star.sdb.DataSource"/>
|
||||||
<service name="com.sun.star.sdb.DocumentDataSource"/>
|
<service name="com.sun.star.sdb.DocumentDataSource"/>
|
||||||
</implementation>
|
</implementation>
|
||||||
<implementation name="com.sun.star.comp.dba.ORowSet">
|
<implementation name="com.sun.star.comp.dba.ORowSet"
|
||||||
|
constructor="com_sun_star_comp_dba_ORowSet_get_implementation">
|
||||||
<service name="com.sun.star.sdb.ResultSet"/>
|
<service name="com.sun.star.sdb.ResultSet"/>
|
||||||
<service name="com.sun.star.sdb.RowSet"/>
|
<service name="com.sun.star.sdb.RowSet"/>
|
||||||
<service name="com.sun.star.sdbc.ResultSet"/>
|
<service name="com.sun.star.sdbc.ResultSet"/>
|
||||||
|
Reference in New Issue
Block a user