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 | ece3a2c61cfa0cbbbde59204a9f305c54ee1ac4c (patch) | |
tree | 8b02a259afbd56c0111286473e58a7a6a8c7e08f /shell | |
parent | e0eb738dda01478f0e38d2b4519453531cd2b406 (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 c8ac40799cea..bb743960afc5 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(); |