Kaydet (Commit) f72078e8 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

de-macroize ucb filrow

Change-Id: I2dc553b5618a61079e6fa1c56c77268fdbfd158b
üst 9bb4d1d9
...@@ -88,40 +88,6 @@ XRow_impl::~XRow_impl() ...@@ -88,40 +88,6 @@ XRow_impl::~XRow_impl()
} }
void SAL_CALL
XRow_impl::acquire(
void )
throw()
{
OWeakObject::acquire();
}
void SAL_CALL
XRow_impl::release(
void )
throw()
{
OWeakObject::release();
}
uno::Any SAL_CALL
XRow_impl::queryInterface(
const uno::Type& rType )
throw( uno::RuntimeException, std::exception )
{
uno::Any aRet = cppu::queryInterface( rType,
(static_cast< lang::XTypeProvider* >(this)),
(static_cast< sdbc::XRow* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
XTYPEPROVIDER_IMPL_2( XRow_impl,
lang::XTypeProvider,
sdbc::XRow )
sal_Bool SAL_CALL sal_Bool SAL_CALL
XRow_impl::wasNull( XRow_impl::wasNull(
void ) void )
......
...@@ -19,47 +19,22 @@ ...@@ -19,47 +19,22 @@
#ifndef _FILROW_HXX_ #ifndef _FILROW_HXX_
#define _FILROW_HXX_ #define _FILROW_HXX_
#include <ucbhelper/macros.hxx>
#include "osl/mutex.hxx"
#include <cppuhelper/weak.hxx>
#include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/script/XTypeConverter.hpp> #include <com/sun/star/script/XTypeConverter.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/ucb/XContentProvider.hpp> #include <com/sun/star/ucb/XContentProvider.hpp>
#include <cppuhelper/implbase1.hxx>
namespace fileaccess { namespace fileaccess {
class shell; class shell;
class XRow_impl: class XRow_impl: public cppu::WeakImplHelper1<
public cppu::OWeakObject, css::sdbc::XRow >
public com::sun::star::lang::XTypeProvider,
public com::sun::star::sdbc::XRow
{ {
public: public:
XRow_impl( shell* pShell,const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& __m_aValueMap ); XRow_impl( shell* pShell,const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& __m_aValueMap );
~XRow_impl(); ~XRow_impl();
virtual com::sun::star::uno::Any SAL_CALL
queryInterface(
const com::sun::star::uno::Type& aType )
throw( com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL
acquire(
void )
throw();
virtual void SAL_CALL
release(
void )
throw();
// XTypeProvider
XTYPEPROVIDER_DECL()
virtual sal_Bool SAL_CALL virtual sal_Bool SAL_CALL
wasNull( wasNull(
void ) void )
......
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