summaryrefslogtreecommitdiff
path: root/fpicker/source/win32/filepicker
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/win32/filepicker')
-rw-r--r--fpicker/source/win32/filepicker/FileOpenDlg.hxx4
-rw-r--r--fpicker/source/win32/filepicker/FilePicker.cxx2
-rw-r--r--fpicker/source/win32/filepicker/PreviewCtrl.cxx4
-rw-r--r--fpicker/source/win32/filepicker/PreviewCtrl.hxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePicker.cxx4
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx2
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx4
-rw-r--r--fpicker/source/win32/filepicker/WinFileOpenImpl.cxx2
-rw-r--r--fpicker/source/win32/filepicker/dialogcustomcontrols.cxx2
-rw-r--r--fpicker/source/win32/filepicker/dibpreview.cxx2
-rw-r--r--fpicker/source/win32/filepicker/filepickerstate.cxx2
-rw-r--r--fpicker/source/win32/filepicker/helppopupwindow.cxx2
-rw-r--r--fpicker/source/win32/filepicker/helppopupwindow.hxx4
-rw-r--r--fpicker/source/win32/filepicker/workbench/Test_fps.cxx4
14 files changed, 20 insertions, 20 deletions
diff --git a/fpicker/source/win32/filepicker/FileOpenDlg.hxx b/fpicker/source/win32/filepicker/FileOpenDlg.hxx
index 3e4977923f89..f36b29fe9451 100644
--- a/fpicker/source/win32/filepicker/FileOpenDlg.hxx
+++ b/fpicker/source/win32/filepicker/FileOpenDlg.hxx
@@ -209,10 +209,10 @@ public:
// the method returns:
// 0 - when the dialog was canceled by the user
// 1 - when the dialog was closed with ok
- // -1 - when an error occured
+ // -1 - when an error occurred
sal_Int16 SAL_CALL doModal();
- // returns the last dialog error that occured
+ // returns the last dialog error that occurred
sal_uInt32 SAL_CALL getLastDialogError() const;
// retrievs the currently selected file
diff --git a/fpicker/source/win32/filepicker/FilePicker.cxx b/fpicker/source/win32/filepicker/FilePicker.cxx
index 01294ef3a25a..ef9ba521beb3 100644
--- a/fpicker/source/win32/filepicker/FilePicker.cxx
+++ b/fpicker/source/win32/filepicker/FilePicker.cxx
@@ -66,7 +66,7 @@ using namespace ::com::sun::star::ui::dialogs::TemplateDescription;
namespace
{
- // controling event notifications
+ // controlling event notifications
const bool STARTUP_SUSPENDED = true;
const bool STARTUP_ALIVE = false;
diff --git a/fpicker/source/win32/filepicker/PreviewCtrl.cxx b/fpicker/source/win32/filepicker/PreviewCtrl.cxx
index 6b23790e9f89..21cad6690322 100644
--- a/fpicker/source/win32/filepicker/PreviewCtrl.cxx
+++ b/fpicker/source/win32/filepicker/PreviewCtrl.cxx
@@ -259,7 +259,7 @@ CFilePreview::CFilePreview(
wndClsEx.lpszClassName = PREVIEWWND_CLASS_NAME;
// register the preview window class
- // !!! Win95 - the window class will be unregistered automaticly
+ // !!! Win95 - the window class will be unregistered automatically
// if the dll is unloaded
// Win2000 - the window class must be unregistered manually
// if the dll is unloaded
@@ -414,7 +414,7 @@ sal_Bool SAL_CALL CFilePreview::show( sal_Bool bShow )
// if the preview is shown and enabled
// preview of the given file will be shown
// returns true on success or false if an error
-// occured (the file in not there or not accessible etc.)
+// occurred (the file in not there or not accessible etc.)
//---------------------------------------------------
sal_Bool SAL_CALL CFilePreview::update( const rtl::OUString& aFileName )
diff --git a/fpicker/source/win32/filepicker/PreviewCtrl.hxx b/fpicker/source/win32/filepicker/PreviewCtrl.hxx
index 18b32a32c821..f96cdf37fd6d 100644
--- a/fpicker/source/win32/filepicker/PreviewCtrl.hxx
+++ b/fpicker/source/win32/filepicker/PreviewCtrl.hxx
@@ -147,7 +147,7 @@ public:
// if the preview is shown and enabled
// preview of the given file will be shown
// returns true on success or false if an error
- // occured (the file in not there or not accessible etc.)
+ // occurred (the file in not there or not accessible etc.)
virtual sal_Bool SAL_CALL update( const rtl::OUString& aFileName );
protected:
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 54abcf4d07db..486cb7bfb679 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -80,7 +80,7 @@ namespace vista{
namespace
{
- // controling event notifications
+ // controlling event notifications
const bool STARTUP_SUSPENDED = true;
const bool STARTUP_ALIVE = false;
@@ -321,7 +321,7 @@ void SAL_CALL VistaFilePicker::setDisplayDirectory(const ::rtl::OUString& sDirec
}
//-----------------------------------------------------------------------------------------
-// @deprecated cant be supported any longer ... see IDL description for further details
+// @deprecated can't be supported any longer ... see IDL description for further details
css::uno::Sequence< ::rtl::OUString > SAL_CALL VistaFilePicker::getFiles()
throw(css::uno::RuntimeException)
{
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 79f8144e8b72..4d6046ffd672 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -876,7 +876,7 @@ void VistaFilePickerImpl::impl_sta_ShowDialogModal(const RequestRef& rRequest)
TFileSaveDialog iSave = m_iDialogSave;
// it's important to know if we are showing the dialog.
- // Some dialog interface methods cant be called then or some
+ // Some dialog interface methods can't be called then or some
// tasks must be done differently .-) (e.g. see impl_sta_getSelectedFiles())
m_bInExecute = sal_True;
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
index f052db57cc64..4c19a6b00257 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
@@ -260,9 +260,9 @@ class VistaFilePickerImpl : private ::cppu::BaseMutex
void impl_sta_EnableControl(const RequestRef& rRequest);
//---------------------------------------------------------------------
- /** create all needed (optional!) UI controls adressed by the field nFeatures.
+ /** create all needed (optional!) UI controls addressed by the field nFeatures.
* The given number nFeatures is used as a flag field. Use const values FEATURE_XXX
- * to adress it.
+ * to address it.
*
* Internal new controls will be added to the dialog. Every control can be accessed
* by it's own control id. Those control ID must be one of the const set
diff --git a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
index 24754a16e94d..1e1ba364bd04 100644
--- a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
+++ b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
@@ -683,7 +683,7 @@ void SAL_CALL CWinFileOpenImpl::onSelChanged(HWND)
// string to the file name edit line
// this would overwritte our text when we would set
// the default name in onInitDone, so we have to
- // remeber that this is the first SelChanged message
+ // remember that this is the first SelChanged message
// and set the default name here to overwrite the
// windows setting
InitialSetDefaultName();
diff --git a/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx b/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx
index 27cef4531a50..041f8d034467 100644
--- a/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx
+++ b/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx
@@ -70,7 +70,7 @@ void SAL_CALL CDialogCustomControlBase::AlignToBuddy(HWND aBuddyHandle)
int cy_new = rcBuddy.bottom - rcBuddy.top;
// keep the vertical position because
- // the Windows dialog controler does
+ // the Windows dialog controller does
// this job
RECT rcMe;
GetWindowRect(m_CustomControlHandle,&rcMe);
diff --git a/fpicker/source/win32/filepicker/dibpreview.cxx b/fpicker/source/win32/filepicker/dibpreview.cxx
index 328ae764da96..75b450b5bee3 100644
--- a/fpicker/source/win32/filepicker/dibpreview.cxx
+++ b/fpicker/source/win32/filepicker/dibpreview.cxx
@@ -419,7 +419,7 @@ ATOM SAL_CALL CDIBPreview::RegisterDibPreviewWindowClass()
wndClsEx.lpszClassName = PREVIEWWND_CLASS_NAME;
// register the preview window class
- // !!! Win95 - the window class will be unregistered automaticly
+ // !!! Win95 - the window class will be unregistered automatically
// if the dll is unloaded
// Win2000 - the window class must be unregistered manually
// if the dll is unloaded
diff --git a/fpicker/source/win32/filepicker/filepickerstate.cxx b/fpicker/source/win32/filepicker/filepickerstate.cxx
index cd7d022220fd..16d698f2848e 100644
--- a/fpicker/source/win32/filepicker/filepickerstate.cxx
+++ b/fpicker/source/win32/filepicker/filepickerstate.cxx
@@ -665,7 +665,7 @@ inline sal_Bool SAL_CALL CExecuteFilePickerState::IsListboxControl( HWND hwndCon
//---------------------------------------------
// because listboxes (comboboxes) and their labels
-// are seperated we have to translate the listbox
+// are separated we have to translate the listbox
// id to their corresponding label id
// the convention is that the label id of a listbox
// is the id of the listbox + 100
diff --git a/fpicker/source/win32/filepicker/helppopupwindow.cxx b/fpicker/source/win32/filepicker/helppopupwindow.cxx
index 72cad22675b5..1024a2cc08a7 100644
--- a/fpicker/source/win32/filepicker/helppopupwindow.cxx
+++ b/fpicker/source/win32/filepicker/helppopupwindow.cxx
@@ -561,7 +561,7 @@ ATOM SAL_CALL CHelpPopupWindow::RegisterWindowClass( )
wndClsEx.lpszClassName = HELPPOPUPWND_CLASS_NAME;
// register the preview window class
- // !!! Win95 - the window class will be unregistered automaticly
+ // !!! Win95 - the window class will be unregistered automatically
// if the dll is unloaded
// Win2000 - the window class must be unregistered manually
// if the dll is unloaded
diff --git a/fpicker/source/win32/filepicker/helppopupwindow.hxx b/fpicker/source/win32/filepicker/helppopupwindow.hxx
index f28ed1adff29..4021e9d9ebde 100644
--- a/fpicker/source/win32/filepicker/helppopupwindow.hxx
+++ b/fpicker/source/win32/filepicker/helppopupwindow.hxx
@@ -86,9 +86,9 @@ public:
/*
Shows the window with the text that was last set.
- The posistion is the prefered position. The window
+ The position is the preferred position. The window
may itself show at a slightly different position
- if it fits not at the prefered position.
+ if it fits not at the preferred position.
*/
void SAL_CALL show( sal_Int32 x, sal_Int32 y );
diff --git a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
index fb738ba8efe5..c4b616887f01 100644
--- a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
+++ b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
@@ -267,7 +267,7 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] )
OUString rdbName = OUString( RTL_CONSTASCII_USTRINGPARAM( RDB_SYSPATH ) );
Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( rdbName ) );
- // Print a message if an error occured.
+ // Print a message if an error occurred.
if ( g_xFactory.is() == sal_False )
{
OSL_ENSURE(sal_False, "Can't create RegistryServiceFactory");
@@ -366,7 +366,7 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] )
// Cast factory to XComponent
Reference< XComponent > xComponent( g_xFactory, UNO_QUERY );
- // Print a message if an error occured.
+ // Print a message if an error occurred.
if ( xComponent.is() == sal_False )
{
OSL_ENSURE(sal_False, "Error shuting down");