diff options
author | os <os@openoffice.org> | 2010-10-05 09:47:37 +0200 |
---|---|---|
committer | os <os@openoffice.org> | 2010-10-05 09:47:37 +0200 |
commit | 616706a0febd2dad8cdc56dc1429e88f0fc07a29 (patch) | |
tree | 990f3bfc5d9b4f9cd86b90c3db1a87a2b67833c5 /shell | |
parent | ac73ae601ee24c0dd9cea0f4f27f1a17c3ef002e (diff) |
#i114081# SID_MAIL_PREPAREEXPORT re-implemented
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/simplemail/senddoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/simplemail/senddoc.cxx b/shell/source/win32/simplemail/senddoc.cxx index 42f5b9e244..b904902ee4 100644 --- a/shell/source/win32/simplemail/senddoc.cxx +++ b/shell/source/win32/simplemail/senddoc.cxx @@ -170,7 +170,7 @@ void initMapiMessage( pMapiMessage->lpszSubject = const_cast<char*>(gSubject.c_str()); pMapiMessage->lpszNoteText = (gBody.length() ? const_cast<char*>(gBody.c_str()) : NULL); pMapiMessage->lpOriginator = aMapiOriginator; - pMapiMessage->lpRecips = &aMapiRecipientList[0]; + pMapiMessage->lpRecips = aMapiRecipientList.size() ? &aMapiRecipientList[0] : 0; pMapiMessage->nRecipCount = aMapiRecipientList.size(); pMapiMessage->lpFiles = &aMapiAttachmentList[0]; pMapiMessage->nFileCount = aMapiAttachmentList.size(); |