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

de-macroize ucb filinsreq

Change-Id: I880eff465f48882b17779e9e707b82d44ac27531
üst f3199b9a
...@@ -37,85 +37,6 @@ using namespace com::sun::star::beans; ...@@ -37,85 +37,6 @@ using namespace com::sun::star::beans;
using namespace fileaccess; using namespace fileaccess;
void SAL_CALL
XInteractionSupplyNameImpl::acquire( void )
throw()
{
OWeakObject::acquire();
}
void SAL_CALL
XInteractionSupplyNameImpl::release( void )
throw()
{
OWeakObject::release();
}
Any SAL_CALL
XInteractionSupplyNameImpl::queryInterface( const Type& rType )
throw( RuntimeException, std::exception )
{
Any aRet = cppu::queryInterface( rType,
(static_cast< lang::XTypeProvider* >(this)),
(static_cast< XInteractionSupplyName* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
// XTypeProvider
XTYPEPROVIDER_IMPL_2( XInteractionSupplyNameImpl,
XTypeProvider,
XInteractionSupplyName )
void SAL_CALL
XInteractionAbortImpl::acquire( void )
throw()
{
OWeakObject::acquire();
}
void SAL_CALL
XInteractionAbortImpl::release( void )
throw()
{
OWeakObject::release();
}
Any SAL_CALL
XInteractionAbortImpl::queryInterface( const Type& rType )
throw( RuntimeException, std::exception )
{
Any aRet = cppu::queryInterface( rType,
(static_cast< lang::XTypeProvider* >(this)),
(static_cast< XInteractionAbort* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
// XTypeProvider
XTYPEPROVIDER_IMPL_2( XInteractionAbortImpl,
XTypeProvider,
XInteractionAbort )
XInteractionRequestImpl::XInteractionRequestImpl( XInteractionRequestImpl::XInteractionRequestImpl(
const OUString& aClashingName, const OUString& aClashingName,
const Reference<XInterface>& xOrigin, const Reference<XInterface>& xOrigin,
...@@ -135,46 +56,6 @@ XInteractionRequestImpl::XInteractionRequestImpl( ...@@ -135,46 +56,6 @@ XInteractionRequestImpl::XInteractionRequestImpl(
} }
void SAL_CALL
XInteractionRequestImpl::acquire( void )
throw()
{
OWeakObject::acquire();
}
void SAL_CALL
XInteractionRequestImpl::release( void )
throw()
{
OWeakObject::release();
}
Any SAL_CALL
XInteractionRequestImpl::queryInterface( const Type& rType )
throw( RuntimeException, std::exception )
{
Any aRet =
cppu::queryInterface(
rType,
(static_cast< lang::XTypeProvider* >(this)),
(static_cast< XInteractionRequest* >(this)) );
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
// XTypeProvider
XTYPEPROVIDER_IMPL_2( XInteractionRequestImpl,
XTypeProvider,
XInteractionRequest )
Any SAL_CALL Any SAL_CALL
XInteractionRequestImpl::getRequest() XInteractionRequestImpl::getRequest()
throw(RuntimeException, std::exception) throw(RuntimeException, std::exception)
......
...@@ -21,14 +21,12 @@ ...@@ -21,14 +21,12 @@
#ifndef _FILINSREQ_HXX_ #ifndef _FILINSREQ_HXX_
#define _FILINSREQ_HXX_ #define _FILINSREQ_HXX_
#include <cppuhelper/weak.hxx>
#include <ucbhelper/macros.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/task/XInteractionAbort.hpp> #include <com/sun/star/task/XInteractionAbort.hpp>
#include <com/sun/star/ucb/XInteractionSupplyName.hpp> #include <com/sun/star/ucb/XInteractionSupplyName.hpp>
#include <com/sun/star/task/XInteractionRequest.hpp> #include <com/sun/star/task/XInteractionRequest.hpp>
#include <cppuhelper/implbase1.hxx>
namespace fileaccess { namespace fileaccess {
...@@ -37,10 +35,8 @@ namespace fileaccess { ...@@ -37,10 +35,8 @@ namespace fileaccess {
class shell; class shell;
class XInteractionSupplyNameImpl class XInteractionSupplyNameImpl : public cppu::WeakImplHelper1<
: public cppu::OWeakObject, css::ucb::XInteractionSupplyName >
public com::sun::star::lang::XTypeProvider,
public com::sun::star::ucb::XInteractionSupplyName
{ {
public: public:
...@@ -49,27 +45,6 @@ namespace fileaccess { ...@@ -49,27 +45,6 @@ namespace fileaccess {
{ {
} }
virtual com::sun::star::uno::Any SAL_CALL
queryInterface(
const com::sun::star::uno::Type& rType )
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 void SAL_CALL select() virtual void SAL_CALL select()
throw (::com::sun::star::uno::RuntimeException, std::exception) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ {
...@@ -100,10 +75,8 @@ namespace fileaccess { ...@@ -100,10 +75,8 @@ namespace fileaccess {
class XInteractionAbortImpl class XInteractionAbortImpl : public cppu::WeakImplHelper1<
: public cppu::OWeakObject, css::task::XInteractionAbort >
public com::sun::star::lang::XTypeProvider,
public com::sun::star::task::XInteractionAbort
{ {
public: public:
...@@ -112,27 +85,6 @@ namespace fileaccess { ...@@ -112,27 +85,6 @@ namespace fileaccess {
{ {
} }
virtual com::sun::star::uno::Any SAL_CALL
queryInterface(
const com::sun::star::uno::Type& rType )
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 void SAL_CALL select() virtual void SAL_CALL select()
throw (::com::sun::star::uno::RuntimeException, std::exception) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ {
...@@ -152,10 +104,8 @@ namespace fileaccess { ...@@ -152,10 +104,8 @@ namespace fileaccess {
class XInteractionRequestImpl class XInteractionRequestImpl : public cppu::WeakImplHelper1<
: public cppu::OWeakObject, css::task::XInteractionRequest >
public com::sun::star::lang::XTypeProvider,
public com::sun::star::task::XInteractionRequest
{ {
public: public:
...@@ -166,26 +116,6 @@ namespace fileaccess { ...@@ -166,26 +116,6 @@ namespace fileaccess {
shell* pShell, shell* pShell,
sal_Int32 CommandId); sal_Int32 CommandId);
virtual com::sun::star::uno::Any SAL_CALL
queryInterface(
const com::sun::star::uno::Type& rType )
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()
::com::sun::star::uno::Any SAL_CALL getRequest( ) ::com::sun::star::uno::Any SAL_CALL getRequest( )
throw (::com::sun::star::uno::RuntimeException, std::exception); throw (::com::sun::star::uno::RuntimeException, std::exception);
......
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