summaryrefslogtreecommitdiff
path: root/fpicker/source
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source')
-rw-r--r--fpicker/source/aqua/SalAquaFilePicker.cxx2
-rw-r--r--fpicker/source/aqua/SalAquaFolderPicker.cxx2
-rw-r--r--fpicker/source/office/OfficeFilePicker.cxx2
-rw-r--r--fpicker/source/office/fpinteraction.cxx2
-rw-r--r--fpicker/source/office/fpsmartcontent.cxx20
-rw-r--r--fpicker/source/office/iodlg.cxx4
-rw-r--r--fpicker/source/unx/gnome/SalGtkFilePicker.cxx2
-rw-r--r--fpicker/source/unx/gnome/SalGtkFolderPicker.cxx2
-rw-r--r--fpicker/source/unx/kde4/KDE4FilePicker.cxx2
-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
-rw-r--r--fpicker/source/win32/folderpicker/MtaFop.cxx4
-rw-r--r--fpicker/source/win32/folderpicker/MtaFop.hxx2
-rw-r--r--fpicker/source/win32/folderpicker/workbench/Test_fops.cxx4
26 files changed, 44 insertions, 44 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.cxx b/fpicker/source/aqua/SalAquaFilePicker.cxx
index 65bb422556b1..809e4633e209 100644
--- a/fpicker/source/aqua/SalAquaFilePicker.cxx
+++ b/fpicker/source/aqua/SalAquaFilePicker.cxx
@@ -86,7 +86,7 @@ using namespace ::com::sun::star::uno;
namespace
{
- // controling event notifications
+ // controlling event notifications
const bool STARTUP_SUSPENDED = true;
const bool STARTUP_ALIVE = false;
diff --git a/fpicker/source/aqua/SalAquaFolderPicker.cxx b/fpicker/source/aqua/SalAquaFolderPicker.cxx
index 3e40a8edfa68..f3bf06f6d3d4 100644
--- a/fpicker/source/aqua/SalAquaFolderPicker.cxx
+++ b/fpicker/source/aqua/SalAquaFolderPicker.cxx
@@ -73,7 +73,7 @@ using namespace ::com::sun::star::uno;
namespace
{
- // controling event notifications
+ // controlling event notifications
uno::Sequence<rtl::OUString> SAL_CALL FolderPicker_getSupportedServiceNames()
{
uno::Sequence<rtl::OUString> aRet(2);
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx
index c303976872d9..79af62b97e95 100644
--- a/fpicker/source/office/OfficeFilePicker.cxx
+++ b/fpicker/source/office/OfficeFilePicker.cxx
@@ -267,7 +267,7 @@ WinBits SvtFilePicker::getWinBits( WinBits& rExtraBits )
WinBits nBits = 0L;
rExtraBits = 0L;
- // set the standard bits acording to the service name
+ // set the standard bits according to the service name
if ( m_nServiceType == TemplateDescription::FILEOPEN_SIMPLE )
{
nBits = WB_OPEN;
diff --git a/fpicker/source/office/fpinteraction.cxx b/fpicker/source/office/fpinteraction.cxx
index 224acd01bec5..5fd6033460e0 100644
--- a/fpicker/source/office/fpinteraction.cxx
+++ b/fpicker/source/office/fpinteraction.cxx
@@ -93,7 +93,7 @@ namespace svt
// intercept some interesting interactions
- // The "does not exist" interaction will be supressed here completly.
+ // The "does not exist" interaction will be suppressed here completly.
if (m_eInterceptions & OFilePickerInteractionHandler::E_DOESNOTEXIST)
{
InteractiveIOException aIoException;
diff --git a/fpicker/source/office/fpsmartcontent.cxx b/fpicker/source/office/fpsmartcontent.cxx
index afdda61c0ab6..8c21084c833d 100644
--- a/fpicker/source/office/fpsmartcontent.cxx
+++ b/fpicker/source/office/fpsmartcontent.cxx
@@ -93,7 +93,7 @@ namespace svt
void SmartContent::enableDefaultInteractionHandler()
{
// Don't free the memory here! It will be done by the next
- // call automaticly - releasing of the uno reference ...
+ // call automatically - releasing of the uno reference ...
m_pOwnInteraction = NULL;
m_xOwnInteraction = Reference< XInteractionHandler >();
@@ -127,7 +127,7 @@ namespace svt
void SmartContent::disableInteractionHandler()
{
// Don't free the memory here! It will be done by the next
- // call automaticly - releasing of the uno reference ...
+ // call automatically - releasing of the uno reference ...
m_pOwnInteraction = NULL;
m_xOwnInteraction.clear();
@@ -201,12 +201,12 @@ namespace svt
else
bIs = m_pContent->isDocument();
- // from here on, we definately know that the content is valid
+ // from here on, we definitely know that the content is valid
m_eState = VALID;
}
catch( Exception& )
{
- // now we're definately invalid
+ // now we're definitely invalid
m_eState = INVALID;
}
return bIs;
@@ -224,12 +224,12 @@ namespace svt
m_pContent->getPropertyValue( ::rtl::OUString::createFromAscii( "Title" ) ) >>= sTitle;
_rTitle = sTitle;
- // from here on, we definately know that the content is valid
+ // from here on, we definitely know that the content is valid
m_eState = VALID;
}
catch( ::com::sun::star::uno::Exception& )
{
- // now we're definately invalid
+ // now we're definitely invalid
m_eState = INVALID;
}
}
@@ -252,14 +252,14 @@ namespace svt
String aParentURL = String( xParent->getIdentifier()->getContentIdentifier() );
bRet = ( aParentURL.Len() > 0 && aParentURL != (String)(m_pContent->getURL()) );
- // now we're definately valid
+ // now we're definitely valid
m_eState = VALID;
}
}
}
catch( const Exception& )
{
- // now we're definately invalid
+ // now we're definitely invalid
m_eState = INVALID;
}
return bRet;
@@ -287,12 +287,12 @@ namespace svt
}
}
- // now we're definately valid
+ // now we're definitely valid
m_eState = VALID;
}
catch( Exception& )
{
- // now we're definately invalid
+ // now we're definitely invalid
m_eState = INVALID;
}
return bRet;
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index cdca7b9b3b77..045086d7105e 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -2253,7 +2253,7 @@ short SvtFileDialog::PrepareExecute()
UpdateControls( aObj.GetMainURL( INetURLObject::NO_DECODE ) );
- // Somebody might want to enable some controls acording to the current filter
+ // Somebody might want to enable some controls according to the current filter
FilterSelect();
// Zustand der Steuerelemente anpassen.
@@ -3137,7 +3137,7 @@ void SvtFileDialog::setImage( sal_Int16 /*aImageFormat*/, const Any& rImage )
sal_Bool SvtFileDialog::setShowState( sal_Bool /*bShowState*/ )
{
// #97633 for the system filedialog it's
- // usefull to make the preview switchable
+ // useful to make the preview switchable
// because the preview occupies
// half of the size of the file listbox
// which is not the case here,
diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
index 01a4edec42a5..e613d71e841c 100644
--- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
+++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
@@ -73,7 +73,7 @@ using namespace ::com::sun::star::uno;
namespace
{
- // controling event notifications
+ // controlling event notifications
const bool STARTUP_SUSPENDED = true;
const bool STARTUP_ALIVE = false;
diff --git a/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx b/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx
index 298ec456da91..e6ebe5b75ee0 100644
--- a/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx
+++ b/fpicker/source/unx/gnome/SalGtkFolderPicker.cxx
@@ -66,7 +66,7 @@ using namespace ::com::sun::star::uno;
namespace
{
- // controling event notifications
+ // controlling event notifications
uno::Sequence<rtl::OUString> SAL_CALL FolderPicker_getSupportedServiceNames()
{
uno::Sequence<rtl::OUString> aRet(2);
diff --git a/fpicker/source/unx/kde4/KDE4FilePicker.cxx b/fpicker/source/unx/kde4/KDE4FilePicker.cxx
index c25751cbf84e..07d803bf119b 100644
--- a/fpicker/source/unx/kde4/KDE4FilePicker.cxx
+++ b/fpicker/source/unx/kde4/KDE4FilePicker.cxx
@@ -86,7 +86,7 @@ using namespace ::com::sun::star::uno;
namespace
{
- // controling event notifications
+ // controlling event notifications
const bool STARTUP_SUSPENDED = true;
const bool STARTUP_ALIVE = false;
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");
diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx
index 556ad48c9460..54c88ceb0175 100644
--- a/fpicker/source/win32/folderpicker/MtaFop.cxx
+++ b/fpicker/source/win32/folderpicker/MtaFop.cxx
@@ -197,7 +197,7 @@ CMtaFolderPicker::~CMtaFolderPicker( )
// force the destruction of the sta thread request window
// and the end of the thread
- // remeber: DestroyWindow may only be called from within
+ // remember: DestroyWindow may only be called from within
// the thread that created the window
if ( IsWindow( m_hwndStaRequestWnd ) )
{
@@ -205,7 +205,7 @@ CMtaFolderPicker::~CMtaFolderPicker( )
// we place unregister class here because
// if we have a valid window we must have
- // sucessfully registered a window class
+ // successfully registered a window class
// if the creation of the window itself
// failed after registering the window
// class we have unregistered it immediately
diff --git a/fpicker/source/win32/folderpicker/MtaFop.hxx b/fpicker/source/win32/folderpicker/MtaFop.hxx
index 69e147ec477c..8f2d4c52fba5 100644
--- a/fpicker/source/win32/folderpicker/MtaFop.hxx
+++ b/fpicker/source/win32/folderpicker/MtaFop.hxx
@@ -140,7 +140,7 @@ private:
sal_Bool SAL_CALL createStaRequestWindow( );
//---------------------------------------------------------------
- // message handler functions; remeber these functions are called
+ // message handler functions; remember these functions are called
// from a different thread context!
//---------------------------------------------------------------
diff --git a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
index 53124d4afc21..3fa4dd3ff2e4 100644
--- a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
+++ b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
@@ -129,7 +129,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");
@@ -180,7 +180,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");