summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dbui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-04 19:05:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-05 11:43:38 +0000
commit4ff666e2ee9bd5871693262558deb6b95c2af43a (patch)
tree65ce579a64f42cd7488d6ec13d9d09c146500c8b /sw/source/uibase/dbui
parentc010b8cc712d1336ed79fb220764f1a850dc22e5 (diff)
remove unused BaseMutex in SwMailTransferable
Change-Id: Ib079e354433905b25aa44a64779e0c54701858ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148253 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/dbui')
-rw-r--r--sw/source/uibase/dbui/mailmergehelper.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx
index d6efcfc675c5..4e6f7534da9a 100644
--- a/sw/source/uibase/dbui/mailmergehelper.cxx
+++ b/sw/source/uibase/dbui/mailmergehelper.cxx
@@ -102,7 +102,7 @@ uno::Reference< mail::XSmtpService > ConnectToSmtpServer(
mail::MailServiceProvider::create( xContext ) );
xSmtpServer.set(xMailServiceProvider->create(mail::MailServiceType_SMTP), uno::UNO_QUERY);
- uno::Reference< mail::XConnectionListener> xConnectionListener(new SwConnectionListener());
+ uno::Reference< mail::XConnectionListener> xConnectionListener(new SwConnectionListener);
if(rConfigItem.IsAuthentication() && rConfigItem.IsSMTPAfterPOP())
{
@@ -632,7 +632,6 @@ void SwConnectionListener::disposing(const lang::EventObject& /*aEvent*/)
}
SwMailTransferable::SwMailTransferable(OUString aBody, OUString aMimeType) :
- cppu::WeakComponentImplHelper< datatransfer::XTransferable, beans::XPropertySet >(m_aMutex),
m_aMimeType(std::move( aMimeType )),
m_sBody(std::move( aBody )),
m_bIsBody( true )
@@ -641,7 +640,6 @@ SwMailTransferable::SwMailTransferable(OUString aBody, OUString aMimeType) :
SwMailTransferable::SwMailTransferable(OUString aURL,
OUString aName, OUString aMimeType) :
- cppu::WeakComponentImplHelper< datatransfer::XTransferable, beans::XPropertySet >(m_aMutex),
m_aMimeType(std::move( aMimeType )),
m_aURL(std::move(aURL)),
m_aName(std::move( aName )),
@@ -737,8 +735,7 @@ void SwMailTransferable::removeVetoableChangeListener(
{
}
-SwMailMessage::SwMailMessage() :
- cppu::WeakComponentImplHelper< mail::XMailMessage>(m_aMutex)
+SwMailMessage::SwMailMessage()
{
}