[Libreoffice-bugs] [Bug 117221] MailMerge: Not recognising outgoing SMTP Server password when supplied by macro
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 25 08:07:39 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=117221
--- Comment #1 from Alex Kempshall <mcmurchy1917-bugzilla at yahoo.co.uk> ---
I believe the problem is in sw/source/uibase/uno/unomailmerge.cxx arounf about
line 1009
Code snippet below. The last line is wrong.
else if (pData == &m_aBlindCopiesTo)
bOK = rValue >>= m_aBlindCopiesTo;
else if(pData == &m_sInServerPassword)
bOK = rValue >>= m_sInServerPassword;
else if(pData == &m_sOutServerPassword)
bOK = rValue >>= m_sInServerPassword;
Changed it as below and my macro now works.
diff --git a/sw/source/uibase/uno/unomailmerge.cxx
b/sw/source/uibase/uno/unomailmerge.cxx
index b5b477f56587..2816b6a0aa70 100644
--- a/sw/source/uibase/uno/unomailmerge.cxx
+++ b/sw/source/uibase/uno/unomailmerge.cxx
@@ -1006,7 +1006,7 @@ void SAL_CALL SwXMailMerge::setPropertyValue(
else if(pData == &m_sInServerPassword)
bOK = rValue >>= m_sInServerPassword;
else if(pData == &m_sOutServerPassword)
- bOK = rValue >>= m_sInServerPassword;
+ bOK = rValue >>= m_sOutServerPassword;
else {
OSL_FAIL("invalid pointer" );
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180425/055587ae/attachment.html>
More information about the Libreoffice-bugs
mailing list