summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dbui/mailmergehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/dbui/mailmergehelper.cxx')
-rw-r--r--sw/source/uibase/dbui/mailmergehelper.cxx48
1 files changed, 14 insertions, 34 deletions
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx
index 2ba1b834fa9b..dc4c2a210583 100644
--- a/sw/source/uibase/dbui/mailmergehelper.cxx
+++ b/sw/source/uibase/dbui/mailmergehelper.cxx
@@ -604,12 +604,12 @@ SwAuthenticator::~SwAuthenticator()
{
}
-OUString SwAuthenticator::getUserName( ) throw (RuntimeException, std::exception)
+OUString SwAuthenticator::getUserName( )
{
return m_aUserName;
}
-OUString SwAuthenticator::getPassword( ) throw (RuntimeException, std::exception)
+OUString SwAuthenticator::getPassword( )
{
if(!m_aUserName.isEmpty() && m_aPassword.isEmpty() && m_pParentWindow)
{
@@ -635,7 +635,6 @@ SwConnectionContext::~SwConnectionContext()
}
uno::Any SwConnectionContext::getValueByName( const OUString& rName )
- throw (uno::RuntimeException, std::exception)
{
uno::Any aRet;
if( rName == "ServerName" )
@@ -652,17 +651,14 @@ SwConnectionListener::~SwConnectionListener()
}
void SwConnectionListener::connected(const lang::EventObject& /*aEvent*/)
- throw (uno::RuntimeException, std::exception)
{
}
void SwConnectionListener::disconnected(const lang::EventObject& /*aEvent*/)
- throw (uno::RuntimeException, std::exception)
{
}
void SwConnectionListener::disposing(const lang::EventObject& /*aEvent*/)
- throw(uno::RuntimeException, std::exception)
{
}
@@ -689,8 +685,6 @@ SwMailTransferable::~SwMailTransferable()
}
uno::Any SwMailTransferable::getTransferData( const datatransfer::DataFlavor& /*aFlavor*/ )
- throw (datatransfer::UnsupportedFlavorException,
- io::IOException, uno::RuntimeException, std::exception)
{
uno::Any aRet;
if( m_bIsBody )
@@ -714,7 +708,6 @@ uno::Any SwMailTransferable::getTransferData( const datatransfer::DataFlavor& /*
}
uno::Sequence< datatransfer::DataFlavor > SwMailTransferable::getTransferDataFlavors( )
- throw (uno::RuntimeException, std::exception)
{
uno::Sequence< datatransfer::DataFlavor > aRet(1);
aRet[0].MimeType = m_aMimeType;
@@ -732,24 +725,20 @@ uno::Sequence< datatransfer::DataFlavor > SwMailTransferable::getTransferDataFla
sal_Bool SwMailTransferable::isDataFlavorSupported(
const datatransfer::DataFlavor& aFlavor )
- throw (uno::RuntimeException, std::exception)
{
return (aFlavor.MimeType == m_aMimeType);
}
-uno::Reference< beans::XPropertySetInfo > SwMailTransferable::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > SwMailTransferable::getPropertySetInfo( )
{
return uno::Reference< beans::XPropertySetInfo >();
}
void SwMailTransferable::setPropertyValue( const OUString& , const uno::Any& )
- throw(beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException,
- lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
}
uno::Any SwMailTransferable::getPropertyValue( const OUString& rPropertyName )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
uno::Any aRet;
if ( rPropertyName == "URL" )
@@ -759,28 +748,24 @@ uno::Any SwMailTransferable::getPropertyValue( const OUString& rPropertyName )
void SwMailTransferable::addPropertyChangeListener(
const OUString&, const uno::Reference< beans::XPropertyChangeListener >& )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
}
void SwMailTransferable::removePropertyChangeListener(
const OUString&,
const uno::Reference< beans::XPropertyChangeListener >& )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
}
void SwMailTransferable::addVetoableChangeListener(
const OUString&,
const uno::Reference< beans::XVetoableChangeListener >& )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
}
void SwMailTransferable::removeVetoableChangeListener(
const OUString& ,
const uno::Reference< beans::XVetoableChangeListener >& )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
}
@@ -793,93 +778,88 @@ SwMailMessage::~SwMailMessage()
{
}
-OUString SwMailMessage::getSenderName() throw (uno::RuntimeException, std::exception)
+OUString SwMailMessage::getSenderName()
{
return m_sSenderName;
}
-OUString SwMailMessage::getSenderAddress() throw (uno::RuntimeException, std::exception)
+OUString SwMailMessage::getSenderAddress()
{
return m_sSenderAddress;
}
-OUString SwMailMessage::getReplyToAddress() throw (uno::RuntimeException, std::exception)
+OUString SwMailMessage::getReplyToAddress()
{
return m_sReplyToAddress;
}
-void SwMailMessage::setReplyToAddress( const OUString& _replytoaddress ) throw (uno::RuntimeException, std::exception)
+void SwMailMessage::setReplyToAddress( const OUString& _replytoaddress )
{
m_sReplyToAddress = _replytoaddress;
}
-OUString SwMailMessage::getSubject() throw (uno::RuntimeException, std::exception)
+OUString SwMailMessage::getSubject()
{
return m_sSubject;
}
-void SwMailMessage::setSubject( const OUString& _subject ) throw (uno::RuntimeException, std::exception)
+void SwMailMessage::setSubject( const OUString& _subject )
{
m_sSubject = _subject;
}
-uno::Reference< datatransfer::XTransferable > SwMailMessage::getBody() throw (uno::RuntimeException, std::exception)
+uno::Reference< datatransfer::XTransferable > SwMailMessage::getBody()
{
return m_xBody;
}
void SwMailMessage::setBody(
const uno::Reference< datatransfer::XTransferable >& rBody )
- throw (uno::RuntimeException, std::exception)
{
m_xBody = rBody;
}
void SwMailMessage::addRecipient( const OUString& rRecipientAddress )
- throw (uno::RuntimeException, std::exception)
{
m_aRecipients.realloc(m_aRecipients.getLength() + 1);
m_aRecipients[m_aRecipients.getLength() - 1] = rRecipientAddress;
}
void SwMailMessage::addCcRecipient( const OUString& rRecipientAddress )
- throw (uno::RuntimeException, std::exception)
{
m_aCcRecipients.realloc(m_aCcRecipients.getLength() + 1);
m_aCcRecipients[m_aCcRecipients.getLength() - 1] = rRecipientAddress;
}
-void SwMailMessage::addBccRecipient( const OUString& rRecipientAddress ) throw (uno::RuntimeException, std::exception)
+void SwMailMessage::addBccRecipient( const OUString& rRecipientAddress )
{
m_aBccRecipients.realloc(m_aBccRecipients.getLength() + 1);
m_aBccRecipients[m_aBccRecipients.getLength() - 1] = rRecipientAddress;
}
-uno::Sequence< OUString > SwMailMessage::getRecipients( ) throw (uno::RuntimeException, std::exception)
+uno::Sequence< OUString > SwMailMessage::getRecipients( )
{
return m_aRecipients;
}
-uno::Sequence< OUString > SwMailMessage::getCcRecipients( ) throw (uno::RuntimeException, std::exception)
+uno::Sequence< OUString > SwMailMessage::getCcRecipients( )
{
return m_aCcRecipients;
}
-uno::Sequence< OUString > SwMailMessage::getBccRecipients( ) throw (uno::RuntimeException, std::exception)
+uno::Sequence< OUString > SwMailMessage::getBccRecipients( )
{
return m_aBccRecipients;
}
void SwMailMessage::addAttachment( const mail::MailAttachment& rMailAttachment )
- throw (uno::RuntimeException, std::exception)
{
m_aAttachments.realloc(m_aAttachments.getLength() + 1);
m_aAttachments[m_aAttachments.getLength() - 1] = rMailAttachment;
}
uno::Sequence< mail::MailAttachment > SwMailMessage::getAttachments( )
- throw (uno::RuntimeException, std::exception)
{
return m_aAttachments;
}