diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-01-09 22:55:28 +0100 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-01-10 14:17:20 +0000 |
commit | 64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch) | |
tree | 772fc0f308549b9416fbcb06bce2bf0e0f5809cc /dtrans/source | |
parent | d61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff) |
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'dtrans/source')
-rw-r--r-- | dtrans/source/generic/clipboardmanager.cxx | 2 | ||||
-rw-r--r-- | dtrans/source/win32/clipb/MtaOleClipb.cxx | 2 | ||||
-rw-r--r-- | dtrans/source/win32/dtobj/DOTransferable.cxx | 4 | ||||
-rw-r--r-- | dtrans/source/win32/dtobj/Fetc.hxx | 2 | ||||
-rw-r--r-- | dtrans/source/win32/dtobj/FetcList.cxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/dtrans/source/generic/clipboardmanager.cxx b/dtrans/source/generic/clipboardmanager.cxx index 2a5af784742a..9c1fa0bf0b56 100644 --- a/dtrans/source/generic/clipboardmanager.cxx +++ b/dtrans/source/generic/clipboardmanager.cxx @@ -155,7 +155,7 @@ void SAL_CALL ClipboardManager::dispose() rBHelper.aLC.disposeAndClear( aEvt ); // removeClipboard is still allowed here, so make a copy of the - // list (to ensure integrety) and clear the original. + // list (to ensure integrity) and clear the original. ClearableMutexGuard aGuard2( rBHelper.rMutex ); ClipboardMap aCopy(m_aClipboardMap); m_aClipboardMap.clear(); diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx index e3b45a22f73d..3c9f4620784e 100644 --- a/dtrans/source/win32/clipb/MtaOleClipb.cxx +++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx @@ -224,7 +224,7 @@ public: { /* we only call CoUninitialize when - CoInitailize returned S_FALSE, what + CoInitialize returned S_FALSE, what means that com was already initialize for that thread so we keep the balance if CoInitialize returned S_OK what means diff --git a/dtrans/source/win32/dtobj/DOTransferable.cxx b/dtrans/source/win32/dtobj/DOTransferable.cxx index 2eab944c0a72..7a9a632a0c16 100644 --- a/dtrans/source/win32/dtobj/DOTransferable.cxx +++ b/dtrans/source/win32/dtobj/DOTransferable.cxx @@ -150,7 +150,7 @@ sal_Bool SAL_CALL CDOTransferable::isDataFlavorSupported( const DataFlavor& aFla } // helper function -// the list of datafalvors currently on the clipboard will be initialized +// the list of dataflavors currently on the clipboard will be initialized // only once; if the client of this Transferable will hold a reference // to it und the underlying clipboard content changes, the client does // possible operate on a invalid list @@ -263,7 +263,7 @@ LCID SAL_CALL CDOTransferable::getLocaleFromClipboard( ) return lcid; } -// i think it's not necessary to call ReleaseStgMedium +// I think it's not necessary to call ReleaseStgMedium // in case of failures because nothing should have been // allocated etc. diff --git a/dtrans/source/win32/dtobj/Fetc.hxx b/dtrans/source/win32/dtobj/Fetc.hxx index 86edb83e8b9d..6b070907a6e3 100644 --- a/dtrans/source/win32/dtobj/Fetc.hxx +++ b/dtrans/source/win32/dtobj/Fetc.hxx @@ -33,7 +33,7 @@ /********************************************************************** stl container elements must fulfill the following requirements: 1. they need a copy ctor and assignement operator(?) - 2. they must be compareable + 2. they must be comparable because the FORMATETC structure has a pointer to a TARGETDEVICE structure we need a simple wrapper class to fulfill these needs ***********************************************************************/ diff --git a/dtrans/source/win32/dtobj/FetcList.cxx b/dtrans/source/win32/dtobj/FetcList.cxx index 7eba9fd20cd8..2b4db3fff80b 100644 --- a/dtrans/source/win32/dtobj/FetcList.cxx +++ b/dtrans/source/win32/dtobj/FetcList.cxx @@ -336,7 +336,7 @@ sal_Bool SAL_CALL CFormatRegistrar::isLocaleAnsiCodePage( LCID lcid, sal_uInt32 BOOL CALLBACK CFormatRegistrar::EnumLocalesProc( LPSTR lpLocaleStr ) { - // the lpLocaleStr parametere is hexadecimal + // the lpLocaleStr parameter is hexadecimal LCID lcid = strtol( lpLocaleStr, NULL, 16 ); if ( isLocaleAnsiCodePage( lcid, CFormatRegistrar::m_TxtCodePage ) || |