summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-23 14:39:22 +0200
committerNoel Grandin <noel@peralex.com>2015-01-05 12:57:18 +0200
commit54942f0d093e42b06c7a6c10e93d632bfe0c6519 (patch)
tree94f4af0808a65f1adfa91ad378e321ae976bdbcf /shell
parentf901624b5e13e300f8e2facd2a824202c21d9729 (diff)
spelling: attachement -> attachment
Change-Id: I1bb1ad04adec864b594d96711f85b8fcdc1d1ef2
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/simplemail/senddoc.cxx4
-rw-r--r--shell/source/win32/workbench/TestSmplMail.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/shell/source/win32/simplemail/senddoc.cxx b/shell/source/win32/simplemail/senddoc.cxx
index 906497bac5a6..37c5377103b9 100644
--- a/shell/source/win32/simplemail/senddoc.cxx
+++ b/shell/source/win32/simplemail/senddoc.cxx
@@ -116,7 +116,7 @@ void initRecipientList(MapiRecipientList_t* pMapiRecipientList)
}
/** @internal */
-void initAttachementList(MapiAttachmentList_t* pMapiAttachmentList)
+void initAttachmentList(MapiAttachmentList_t* pMapiAttachmentList)
{
OSL_ASSERT(pMapiAttachmentList->empty());
@@ -276,7 +276,7 @@ int main(int argc, char* argv[])
initMapiOriginator(&mapiOriginator);
initRecipientList(&mapiRecipientList);
- initAttachementList(&mapiAttachmentList);
+ initAttachmentList(&mapiAttachmentList);
initMapiMessage((gFrom.length() ? &mapiOriginator : NULL), mapiRecipientList, mapiAttachmentList, &mapiMsg);
ulRet = mapi.MAPISendMail(hSession, 0, &mapiMsg, gMapiFlags, 0);
diff --git a/shell/source/win32/workbench/TestSmplMail.cxx b/shell/source/win32/workbench/TestSmplMail.cxx
index b964dc484e7a..9067b2866f9b 100644
--- a/shell/source/win32/workbench/TestSmplMail.cxx
+++ b/shell/source/win32/workbench/TestSmplMail.cxx
@@ -120,20 +120,20 @@ int SAL_CALL main(int , char*, char* )
xSmplMailMsg->setSubject( OUString("Mapi Test") );
- Sequence< OUString > attachements( 2 );
+ Sequence< OUString > attachments( 2 );
OUString aFile("D:\\Projects\\gsl\\shell\\wntmsci7\\bin\\testprx.exe");
OUString aFileURL;
osl::FileBase::getFileURLFromSystemPath( aFile, aFileURL );
- attachements[0] = aFileURL;
+ attachments[0] = aFileURL;
aFile = "D:\\Projects\\gsl\\shell\\wntmsci7\\bin\\testsyssh.exe";
osl::FileBase::getFileURLFromSystemPath( aFile, aFileURL );
- attachements[1] = aFile;
+ attachments[1] = aFile;
- xSmplMailMsg->setAttachement( attachements );
+ xSmplMailMsg->setAttachement( attachments );
xSmplMailClient->sendSimpleMailMessage( xSmplMailMsg, 0 );
}