diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 12:39:40 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 12:39:40 +0000 |
commit | ead166bcbebeaeabe696aa32cdc6782256bc0492 (patch) | |
tree | bdbe0333faefa8882ff38276878df2eff4e715c5 /sw/source/ui/dbui/mailmergehelper.cxx | |
parent | bf5339ed65ffa9d4b26171ebe5794739f2bd72c9 (diff) |
INTEGRATION: CWS os113 (1.15.56); FILE MERGED
2008/05/09 15:29:12 os 1.15.56.2: RESYNC: (1.15-1.16); FILE MERGED
2008/04/28 09:48:35 os 1.15.56.1: #i86237# DeleteAttachments implemented
Diffstat (limited to 'sw/source/ui/dbui/mailmergehelper.cxx')
-rw-r--r-- | sw/source/ui/dbui/mailmergehelper.cxx | 68 |
1 files changed, 65 insertions, 3 deletions
diff --git a/sw/source/ui/dbui/mailmergehelper.cxx b/sw/source/ui/dbui/mailmergehelper.cxx index 7d798e073d83..82b6876a341f 100644 --- a/sw/source/ui/dbui/mailmergehelper.cxx +++ b/sw/source/ui/dbui/mailmergehelper.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mailmergehelper.cxx,v $ - * $Revision: 1.16 $ + * $Revision: 1.17 $ * * This file is part of OpenOffice.org. * @@ -767,7 +767,7 @@ uno::Reference< uno::XComponentContext> getCurrentCmpCtx( -----------------------------------------------------------------------*/ SwMailTransferable::SwMailTransferable(const rtl::OUString& rBody, const rtl::OUString& rMimeType) : - cppu::WeakComponentImplHelper1< datatransfer::XTransferable >(m_aMutex), + cppu::WeakComponentImplHelper2< datatransfer::XTransferable, beans::XPropertySet >(m_aMutex), m_aMimeType( rMimeType ), m_sBody( rBody ), m_bIsBody( true ) @@ -778,7 +778,7 @@ SwMailTransferable::SwMailTransferable(const rtl::OUString& rBody, const rtl::OU -----------------------------------------------------------------------*/ SwMailTransferable::SwMailTransferable(const rtl::OUString& rURL, const rtl::OUString& rName, const rtl::OUString& rMimeType) : - cppu::WeakComponentImplHelper1< datatransfer::XTransferable >(m_aMutex), + cppu::WeakComponentImplHelper2< datatransfer::XTransferable, beans::XPropertySet >(m_aMutex), m_aMimeType( rMimeType ), m_aURL(rURL), m_aName( rName ), @@ -846,6 +846,68 @@ sal_Bool SwMailTransferable::isDataFlavorSupported( { return (aFlavor.MimeType == ::rtl::OUString(m_aMimeType)); } +/*-- 28.04.2004 09:52:05--------------------------------------------------- + + -----------------------------------------------------------------------*/ +uno::Reference< beans::XPropertySetInfo > SwMailTransferable::getPropertySetInfo( ) throw(uno::RuntimeException) +{ + return uno::Reference< beans::XPropertySetInfo >(); +} +/*-- 28.04.2004 09:52:05--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwMailTransferable::setPropertyValue( const ::rtl::OUString& , const uno::Any& ) + throw(beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, + lang::WrappedTargetException, uno::RuntimeException) +{ +} +/*-- 28.04.2004 09:52:05--------------------------------------------------- + + -----------------------------------------------------------------------*/ +uno::Any SwMailTransferable::getPropertyValue( const ::rtl::OUString& rPropertyName ) + throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) +{ + uno::Any aRet; + if( rPropertyName.equalsAscii( "URL" ) ) + aRet <<= m_aURL; + return aRet; +} +/*-- 28.04.2004 09:52:05--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwMailTransferable::addPropertyChangeListener( + const ::rtl::OUString&, const uno::Reference< beans::XPropertyChangeListener >& ) + throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) +{ +} +/*-- 28.04.2004 09:52:05--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwMailTransferable::removePropertyChangeListener( + const ::rtl::OUString&, + const uno::Reference< beans::XPropertyChangeListener >& ) + throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) +{ +} +/*-- 28.04.2004 09:52:05--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwMailTransferable::addVetoableChangeListener( + const ::rtl::OUString&, + const uno::Reference< beans::XVetoableChangeListener >& ) + throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) +{ +} +/*-- 28.04.2004 09:52:05--------------------------------------------------- + + -----------------------------------------------------------------------*/ +void SwMailTransferable::removeVetoableChangeListener( + const ::rtl::OUString& , + const uno::Reference< beans::XVetoableChangeListener >& ) + throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) +{ +} + /*-- 22.06.2004 16:46:05--------------------------------------------------- -----------------------------------------------------------------------*/ |