From e4af83972e6be8b94772e46741500225ac166774 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 24 Mar 2017 11:38:26 +0100 Subject: Fix typos Change-Id: Ifb779b6c96a009e6c770a8017bb2e2031a288f5f Reviewed-on: https://gerrit.libreoffice.org/35630 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- fpicker/source/office/OfficeFilePicker.cxx | 2 +- fpicker/source/office/commonpicker.hxx | 2 +- fpicker/source/win32/filepicker/VistaFilePicker.hxx | 2 +- fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx | 2 +- fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'fpicker') 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) ) -- cgit