summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 11:38:26 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 08:57:51 +0000
commite4af83972e6be8b94772e46741500225ac166774 (patch)
treebb55af4a24feac00f224a804492f7ef18349addf /fpicker
parent74d67cffec4eea0a575869513158b050e42ec983 (diff)
Fix typos
Change-Id: Ifb779b6c96a009e6c770a8017bb2e2031a288f5f Reviewed-on: https://gerrit.libreoffice.org/35630 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/OfficeFilePicker.cxx2
-rw-r--r--fpicker/source/office/commonpicker.hxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePicker.hxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx8
5 files changed, 8 insertions, 8 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx
index 1022932c1042..82d39d1c9348 100644
--- a/fpicker/source/office/OfficeFilePicker.cxx
+++ b/fpicker/source/office/OfficeFilePicker.cxx
@@ -907,7 +907,7 @@ sal_Bool SAL_CALL SvtFilePicker::setShowState( sal_Bool )
// the preview window switchable because
// else we would have to change the layout
// of the file dialog dynamically
- // support for set/getShowState is opionally
+ // support for set/getShowState is optionally
// see css::ui::dialogs::XFilePreview
bRet = false;
diff --git a/fpicker/source/office/commonpicker.hxx b/fpicker/source/office/commonpicker.hxx
index 81ecad00daec..e57ad8250262 100644
--- a/fpicker/source/office/commonpicker.hxx
+++ b/fpicker/source/office/commonpicker.hxx
@@ -112,7 +112,7 @@ namespace svt
virtual void SAL_CALL disposing() override;
- // XEventListner
+ // XEventListener
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.hxx b/fpicker/source/win32/filepicker/VistaFilePicker.hxx
index 946f66efdd6b..118646810c4b 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.hxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.hxx
@@ -55,7 +55,7 @@ typedef ::cppu::WeakComponentImplHelper<
for Windows Vista and upcoming versions.
Note: This will be an UNO wrapper for the real file picker
- implementation oly. The real implementation is done in class
+ implementation only. The real implementation is done in class
VistaFilePickerImpl.
*/
class VistaFilePicker : public ::cppu::BaseMutex
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx
index 329e7264c9c6..103e2667299d 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx
@@ -142,7 +142,7 @@ class VistaFilePickerEventHandler : public ::cppu::BaseMutex
/** stop listening for file picker events on the internally cached dialog COM object.
*
- * The COM dialog provided on the startListeneing() call was cached internally.
+ * The COM dialog provided on the startListening() call was cached internally.
* And now its used to deregister this listener. Doing so the also internally cached
* listener handle is used. If listener was not already registered - nothing will happen.
*/
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 9600b0bb4730..994326d4c14d 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -165,10 +165,10 @@ void VistaFilePickerImpl::before()
// TRICKY .-)
// osl::Thread class initializes COm already in MTA mode because it's needed
- // by VCL and UNO so. There is no way to change that from outside ...
- // but we need a STA environment ...
- // So we make it by try-and-error ...
- // If first CoInitialize will fail .. we unitialize COM initialize it new .-)
+ // by VCL and UNO so. There is no way to change that from outside...
+ // but we need a STA environment...
+ // So we make it by try-and-error...
+ // If first CoInitialize will fail... we uninitialize COM initialize it new .-)
m_hLastResult = CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
if ( FAILED(m_hLastResult) )