summaryrefslogtreecommitdiff
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
parentf901624b5e13e300f8e2facd2a824202c21d9729 (diff)
spelling: attachement -> attachment
Change-Id: I1bb1ad04adec864b594d96711f85b8fcdc1d1ef2
-rw-r--r--forms/source/component/Grid.cxx2
-rw-r--r--forms/source/misc/InterfaceContainer.cxx2
-rw-r--r--shell/source/win32/simplemail/senddoc.cxx4
-rw-r--r--shell/source/win32/workbench/TestSmplMail.cxx8
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx2
5 files changed, 9 insertions, 9 deletions
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx
index a3e727b21caf..78860c825fe0 100644
--- a/forms/source/component/Grid.cxx
+++ b/forms/source/component/Grid.cxx
@@ -912,7 +912,7 @@ void OGridControlModel::read(const Reference<XObjectInputStream>& _rxInStream) t
_rxInStream->skipBytes(nObjLen);
xMark->deleteMark(nMark);
}
- // reading the attachement
+ // reading the attachment
for (sal_Int32 i = 0; i < nLen; i++)
{
InterfaceRef xIfc(m_aItems[i], UNO_QUERY);
diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx
index 0d4ef2d40a11..f0bf92bad1c9 100644
--- a/forms/source/misc/InterfaceContainer.cxx
+++ b/forms/source/misc/InterfaceContainer.cxx
@@ -455,7 +455,7 @@ void SAL_CALL OInterfaceContainer::readEvents(const Reference<XObjectInputStream
xMark->deleteMark(nMark);
}
- // Read Attachement
+ // Read Attachment
if ( m_xEventAttacher.is() )
{
OInterfaceArray::const_iterator aAttach = m_aItems.begin();
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 );
}
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index a30b9ef5d983..ddb0e7cb4404 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -315,7 +315,7 @@ void OpenGLHelper::createFramebuffer(long nWidth, long nHeight, GLuint& nFramebu
glGenFramebuffers(1, &nFramebufferId);
glCheckFramebufferStatus(GL_FRAMEBUFFER);
glBindFramebuffer(GL_FRAMEBUFFER, nFramebufferId);
- // attach a renderbuffer to FBO color attachement point
+ // attach a renderbuffer to FBO color attachment point
glBindRenderbuffer(GL_RENDERBUFFER, nRenderbufferColorId);
glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, nRenderbufferColorId);
glCheckFramebufferStatus(GL_FRAMEBUFFER);