This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new d4eaf4e792 Fix spelling; Fix bug with `ifndef` statement (#355)
d4eaf4e792 is described below
commit d4eaf4e7928971453c0dd315c2b65cefce09edae
Author: John Bampton <[email protected]>
AuthorDate: Sat Apr 5 19:55:42 2025 +1000
Fix spelling; Fix bug with `ifndef` statement (#355)
* misc: fix spelling
General typo fixes in many file types
Fix bug with `ifndef` statement
* Update ignored words list
* Update cppcompskeleton.cxx
* Update javacompskeleton.cxx
---------
Co-authored-by: Matthias Seidel <[email protected]>
(cherry picked from commit a8d869c0a55ec20abe6b8f09597933f653283840)
---
main/comphelper/source/eventattachermgr/eventattachermgr.cxx | 2 +-
main/cppuhelper/inc/cppuhelper/propshlp.hxx | 2 +-
main/dbaccess/source/core/inc/DatabaseDataProvider.hxx | 2 +-
main/dtrans/source/cnttype/wbench/testcnttype.cxx | 2 +-
main/dtrans/source/win32/workbench/test_wincb.cxx | 2 +-
main/dtrans/source/win32/workbench/testmarshal.cxx | 2 +-
main/dtrans/test/win32/dnd/transferable.hxx | 2 +-
main/filter/source/xsltfilter/uof2splithandler.cxx | 2 +-
main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx | 2 +-
main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx | 2 +-
main/framework/inc/services/detectorfactory.hxx | 2 +-
main/framework/source/dispatch/mailtodispatcher.cxx | 4 ++--
main/framework/source/dispatch/servicehandler.cxx | 4 ++--
main/framework/source/dispatch/systemexec.cxx | 4 ++--
.../java/jurt/src/main/java/com/sun/star/comp/loader/JavaLoader.java | 2 +-
.../main/java/com/sun/star/comp/servicemanager/ServiceManager.java | 2 +-
main/offapi/com/sun/star/chart/AccessibleChartElement.idl | 2 +-
main/offapi/com/sun/star/ucb/PropertySetRegistry.idl | 2 +-
main/reportdesign/source/ui/dlg/GroupsSorting.cxx | 2 +-
main/sal/inc/rtl/uuid.h | 2 +-
main/sc/source/ui/vba/vbaapplication.cxx | 2 +-
main/shell/source/win32/workbench/TestSmplMail.cxx | 2 +-
main/shell/source/win32/workbench/TestSysShExec.cxx | 2 +-
main/toolkit/test/accessibility/AccessibleTreeNode.java | 2 +-
main/toolkit/test/accessibility/NodeHandler.java | 2 +-
main/ucb/source/ucp/gvfs/gvfs_content.cxx | 2 +-
main/unodevtools/source/skeletonmaker/cppcompskeleton.cxx | 4 ++--
main/unodevtools/source/skeletonmaker/javacompskeleton.cxx | 4 ++--
main/unotools/source/processfactory/processfactory.cxx | 2 +-
main/vcl/inc/vcl/virdev.hxx | 2 +-
main/vcl/unx/generic/window/salframe.cxx | 2 +-
main/writerfilter/source/ooxml/factorytools.xsl | 2 +-
32 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/main/comphelper/source/eventattachermgr/eventattachermgr.cxx
b/main/comphelper/source/eventattachermgr/eventattachermgr.cxx
index c34b3a0a1b..24f9823fe9 100644
--- a/main/comphelper/source/eventattachermgr/eventattachermgr.cxx
+++ b/main/comphelper/source/eventattachermgr/eventattachermgr.cxx
@@ -1027,4 +1027,4 @@ void SAL_CALL ImplEventAttacherManager::read(const
Reference< XObjectInputStream
xMarkStream->deleteMark( nObjLenMark );
}
-} // namesapce comphelper
+} // namespace comphelper
diff --git a/main/cppuhelper/inc/cppuhelper/propshlp.hxx
b/main/cppuhelper/inc/cppuhelper/propshlp.hxx
index 7674c9cfc3..827ce46701 100644
--- a/main/cppuhelper/inc/cppuhelper/propshlp.hxx
+++ b/main/cppuhelper/inc/cppuhelper/propshlp.hxx
@@ -415,7 +415,7 @@ public:
throw(::com::sun::star::uno::RuntimeException);
/**
- Send a disposing notification to the listeners in the conatiners
aBoundLC
+ Send a disposing notification to the listeners in the containers
aBoundLC
and aVetoableLC.
@see OComponentHelper
diff --git a/main/dbaccess/source/core/inc/DatabaseDataProvider.hxx
b/main/dbaccess/source/core/inc/DatabaseDataProvider.hxx
index d678dcd7d3..b5fe545d6b 100644
--- a/main/dbaccess/source/core/inc/DatabaseDataProvider.hxx
+++ b/main/dbaccess/source/core/inc/DatabaseDataProvider.hxx
@@ -182,7 +182,7 @@ private:
virtual sal_Bool SAL_CALL rowDeleted()
throw(::com::sun::star::sdbc::SQLException,
::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface > SAL_CALL getStatement()
throw(::com::sun::star::sdbc::SQLException,
::com::sun::star::uno::RuntimeException);
- // conatiner::XChild
+ // container::XChild
virtual ::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface > SAL_CALL getParent( ) throw
(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setParent( const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface >& Parent ) throw
(::com::sun::star::lang::NoSupportException,
::com::sun::star::uno::RuntimeException);
diff --git a/main/dtrans/source/cnttype/wbench/testcnttype.cxx
b/main/dtrans/source/cnttype/wbench/testcnttype.cxx
index dfcc12df18..0caa09ca31 100644
--- a/main/dtrans/source/cnttype/wbench/testcnttype.cxx
+++ b/main/dtrans/source/cnttype/wbench/testcnttype.cxx
@@ -51,7 +51,7 @@
#define RDB_SYSPATH
"d:\\projects\\src621\\dtrans\\wntmsci7\\bin\\applicat.rdb"
//------------------------------------------------------------
-// namesapces
+// namespaces
//------------------------------------------------------------
using namespace ::rtl;
diff --git a/main/dtrans/source/win32/workbench/test_wincb.cxx
b/main/dtrans/source/win32/workbench/test_wincb.cxx
index 0937ea3ddc..a10f2975de 100644
--- a/main/dtrans/source/win32/workbench/test_wincb.cxx
+++ b/main/dtrans/source/win32/workbench/test_wincb.cxx
@@ -75,7 +75,7 @@
#define EVT_NONAME ""
//------------------------------------------------------------
-// namesapces
+// namespaces
//------------------------------------------------------------
using namespace ::rtl;
diff --git a/main/dtrans/source/win32/workbench/testmarshal.cxx
b/main/dtrans/source/win32/workbench/testmarshal.cxx
index 363ed6af97..2578b55969 100644
--- a/main/dtrans/source/win32/workbench/testmarshal.cxx
+++ b/main/dtrans/source/win32/workbench/testmarshal.cxx
@@ -63,7 +63,7 @@
#define RAW_MARSHALING
//------------------------------------------------------------
-// namesapces
+// namespaces
//------------------------------------------------------------
using namespace ::rtl;
diff --git a/main/dtrans/test/win32/dnd/transferable.hxx
b/main/dtrans/test/win32/dnd/transferable.hxx
index ace510fbe5..43bb7eb73a 100644
--- a/main/dtrans/test/win32/dnd/transferable.hxx
+++ b/main/dtrans/test/win32/dnd/transferable.hxx
@@ -75,7 +75,7 @@
#define EVT_NONAME ""
//------------------------------------------------------------
-// namesapces
+// namespaces
//------------------------------------------------------------
using namespace ::rtl;
diff --git a/main/filter/source/xsltfilter/uof2splithandler.cxx
b/main/filter/source/xsltfilter/uof2splithandler.cxx
index 261e58404a..ac52617d02 100644
--- a/main/filter/source/xsltfilter/uof2splithandler.cxx
+++ b/main/filter/source/xsltfilter/uof2splithandler.cxx
@@ -220,7 +220,7 @@ void UOF2SplitHandler::Write( OUString & rFileName ,
sal_Bool bStart ) throw( Ru
}
/* -----
- collect namesapce declaration of the <pzip:entry> element
+ collect namespace declaration of the <pzip:entry> element
---- */
void UOF2SplitHandler::namespaceMap( const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList >& AttrList )
{
diff --git a/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
b/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
index eafaddcc30..ab8a0a422a 100644
--- a/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
+++ b/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
@@ -66,7 +66,7 @@
#include "..\FPServiceInfo.hxx"
//
-// namesapces
+// namespaces
//
using namespace ::rtl ;
diff --git a/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
b/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
index fb461450ae..5b0ac4b04c 100644
--- a/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
+++ b/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
@@ -65,7 +65,7 @@
#include <windows.h>
//--------------------------------------------------------------
-// namesapces
+// namespaces
//--------------------------------------------------------------
using namespace ::rtl ;
diff --git a/main/framework/inc/services/detectorfactory.hxx
b/main/framework/inc/services/detectorfactory.hxx
index f60d9e3054..af175a9562 100644
--- a/main/framework/inc/services/detectorfactory.hxx
+++ b/main/framework/inc/services/detectorfactory.hxx
@@ -389,7 +389,7 @@ class DetectorFactory : // interfaces
/** @short return fill state of this cache.
- @return sal_True if any item exist inside this conatiner;
sal_False otherwise.
+ @return sal_True if any item exist inside this container;
sal_False otherwise.
*/
virtual sal_Bool SAL_CALL hasElements()
diff --git a/main/framework/source/dispatch/mailtodispatcher.cxx
b/main/framework/source/dispatch/mailtodispatcher.cxx
index ab7efaa445..34fe397ae2 100644
--- a/main/framework/source/dispatch/mailtodispatcher.cxx
+++ b/main/framework/source/dispatch/mailtodispatcher.cxx
@@ -313,7 +313,7 @@ sal_Bool MailToDispatcher::implts_dispatch( const
css::util::URL&
void SAL_CALL MailToDispatcher::addStatusListener( const css::uno::Reference<
css::frame::XStatusListener >& /*xListener*/ ,
const css::util::URL&
/*aURL*/ ) throw( css::uno::RuntimeException
)
{
- // not suported yet
+ // not supported yet
}
//_________________________________________________________________________________________________________________
@@ -321,7 +321,7 @@ void SAL_CALL MailToDispatcher::addStatusListener( const
css::uno::Reference< cs
void SAL_CALL MailToDispatcher::removeStatusListener( const
css::uno::Reference< css::frame::XStatusListener >& /*xListener*/ ,
const css::util::URL&
/*aURL*/ ) throw(
css::uno::RuntimeException )
{
- // not suported yet
+ // not supported yet
}
} // namespace framework
diff --git a/main/framework/source/dispatch/servicehandler.cxx
b/main/framework/source/dispatch/servicehandler.cxx
index e5e82934d5..857983cbf1 100644
--- a/main/framework/source/dispatch/servicehandler.cxx
+++ b/main/framework/source/dispatch/servicehandler.cxx
@@ -333,7 +333,7 @@ css::uno::Reference< css::uno::XInterface >
ServiceHandler::implts_dispatch( con
void SAL_CALL ServiceHandler::addStatusListener( const css::uno::Reference<
css::frame::XStatusListener >& /*xListener*/ ,
const css::util::URL&
/*aURL*/ ) throw( css::uno::RuntimeException )
{
- // not suported yet
+ // not supported yet
}
//_________________________________________________________________________________________________________________
@@ -341,7 +341,7 @@ void SAL_CALL ServiceHandler::addStatusListener( const
css::uno::Reference< css:
void SAL_CALL ServiceHandler::removeStatusListener( const css::uno::Reference<
css::frame::XStatusListener >& /*xListener*/ ,
const css::util::URL&
/*aURL*/ ) throw(
css::uno::RuntimeException )
{
- // not suported yet
+ // not supported yet
}
} // namespace framework
diff --git a/main/framework/source/dispatch/systemexec.cxx
b/main/framework/source/dispatch/systemexec.cxx
index 8a6bffed1f..c2fe277876 100644
--- a/main/framework/source/dispatch/systemexec.cxx
+++ b/main/framework/source/dispatch/systemexec.cxx
@@ -203,7 +203,7 @@ void SAL_CALL SystemExec::dispatchWithNotification( const
css::util::URL&
void SAL_CALL SystemExec::addStatusListener( const css::uno::Reference<
css::frame::XStatusListener >&,
const css::util::URL& ) throw(
css::uno::RuntimeException )
{
- // not suported yet
+ // not supported yet
}
//_________________________________________________________________________________________________________________
@@ -211,7 +211,7 @@ void SAL_CALL SystemExec::addStatusListener( const
css::uno::Reference< css::fra
void SAL_CALL SystemExec::removeStatusListener( const css::uno::Reference<
css::frame::XStatusListener >&,
const css::util::URL& ) throw(
css::uno::RuntimeException )
{
- // not suported yet
+ // not supported yet
}
//_________________________________________________________________________________________________________________
diff --git
a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/loader/JavaLoader.java
b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/loader/JavaLoader.java
index 5b4766e763..92d0eaf73b 100644
--- a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/loader/JavaLoader.java
+++ b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/loader/JavaLoader.java
@@ -208,7 +208,7 @@ public class JavaLoader implements XImplementationLoader,
/**
* Verifies if a given service is supported by the component.
* <p>
- * @return true,if service is suported - otherwise false
+ * @return true,if service is supported - otherwise false
* @param serviceName the name of the service
that should be checked
* @see com.sun.star.lang.XServiceInfo
*/
diff --git
a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java
b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java
index 45fca0aa58..9c48addb79 100644
---
a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java
+++
b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java
@@ -637,7 +637,7 @@ public class ServiceManager implements XMultiServiceFactory,
* Provides an enumeration of all registered services.
* <p>
* @return an enumeration of all available services.
- * @see com.sun.star.conatiner.XEnumerationAccess
+ * @see com.sun.star.container.XEnumerationAccess
*/
public XEnumeration createEnumeration()
throws com.sun.star.uno.RuntimeException
diff --git a/main/offapi/com/sun/star/chart/AccessibleChartElement.idl
b/main/offapi/com/sun/star/chart/AccessibleChartElement.idl
index 2e989ebc3e..80bca5fac8 100644
--- a/main/offapi/com/sun/star/chart/AccessibleChartElement.idl
+++ b/main/offapi/com/sun/star/chart/AccessibleChartElement.idl
@@ -53,7 +53,7 @@ module com { module sun { module star { module chart {
<p>The
<type
scope="::com::sun::star::accessibility">XAccessibleExtendedComponent</type>
- is suported by all chart elements.</p>
+ is supported by all chart elements.</p>
@since OpenOffice 1.1.2
*/
diff --git a/main/offapi/com/sun/star/ucb/PropertySetRegistry.idl
b/main/offapi/com/sun/star/ucb/PropertySetRegistry.idl
index 6572b51762..2ab34f182d 100644
--- a/main/offapi/com/sun/star/ucb/PropertySetRegistry.idl
+++ b/main/offapi/com/sun/star/ucb/PropertySetRegistry.idl
@@ -26,7 +26,7 @@
#ifndef __com_sun_star_ucb_XPropertySetRegistry_idl__
#include <com/sun/star/ucb/XPropertySetRegistry.idl>
#endif
-#ifndef __com_sun_star_conatiner_XNameAccess_idl__
+#ifndef __com_sun_star_container_XNameAccess_idl__
#include <com/sun/star/container/XNameAccess.idl>
#endif
diff --git a/main/reportdesign/source/ui/dlg/GroupsSorting.cxx
b/main/reportdesign/source/ui/dlg/GroupsSorting.cxx
index bd2bcf3941..017d5ad609 100644
--- a/main/reportdesign/source/ui/dlg/GroupsSorting.cxx
+++ b/main/reportdesign/source/ui/dlg/GroupsSorting.cxx
@@ -1189,7 +1189,7 @@ sal_Int32 OGroupsSortingDialog::getColumnDataType(const
::rtl::OUString& _sColum
}
catch(uno::Exception&)
{
- OSL_ENSURE(0,"Eception caught while getting the type of a column");
+ OSL_ENSURE(0,"Exception caught while getting the type of a column");
}
return nDataType;
diff --git a/main/sal/inc/rtl/uuid.h b/main/sal/inc/rtl/uuid.h
index ef30f64a47..5e1ec66709 100644
--- a/main/sal/inc/rtl/uuid.h
+++ b/main/sal/inc/rtl/uuid.h
@@ -128,7 +128,7 @@ void SAL_CALL rtl_createNamedUuid(
Predefined Namespaces
(Use them the following way : sal_uInt8 aNsDNS[16]) =
RTL_UUID_NAMESPACE_DNS;
*/
-/** namesapce DNS
+/** namespace DNS
<p>
(Use them the following way : sal_uInt8 aNsDNS[16]) =
RTL_UUID_NAMESPACE_DNS;
diff --git a/main/sc/source/ui/vba/vbaapplication.cxx
b/main/sc/source/ui/vba/vbaapplication.cxx
index c244e10cc1..cca2d5cc10 100644
--- a/main/sc/source/ui/vba/vbaapplication.cxx
+++ b/main/sc/source/ui/vba/vbaapplication.cxx
@@ -264,7 +264,7 @@ ScVbaApplication::getSelection() throw
(uno::RuntimeException)
}
else
{
- throw uno::RuntimeException( sImpementaionName +
rtl::OUString::createFromAscii(" not suported"), uno::Reference<
uno::XInterface >() );
+ throw uno::RuntimeException( sImpementaionName +
rtl::OUString::createFromAscii(" not supported"), uno::Reference<
uno::XInterface >() );
}
}
diff --git a/main/shell/source/win32/workbench/TestSmplMail.cxx
b/main/shell/source/win32/workbench/TestSmplMail.cxx
index b92687fb5b..1a199b0bb2 100644
--- a/main/shell/source/win32/workbench/TestSmplMail.cxx
+++ b/main/shell/source/win32/workbench/TestSmplMail.cxx
@@ -49,7 +49,7 @@
#include <osl/file.hxx>
//--------------------------------------------------------------
-// namesapces
+// namespaces
//--------------------------------------------------------------
using namespace ::rtl ;
diff --git a/main/shell/source/win32/workbench/TestSysShExec.cxx
b/main/shell/source/win32/workbench/TestSysShExec.cxx
index e9c2d2fa3f..2f9b93a71d 100644
--- a/main/shell/source/win32/workbench/TestSysShExec.cxx
+++ b/main/shell/source/win32/workbench/TestSysShExec.cxx
@@ -55,7 +55,7 @@
#endif
//--------------------------------------------------------------
-// namesapces
+// namespaces
//--------------------------------------------------------------
using namespace ::rtl ;
diff --git a/main/toolkit/test/accessibility/AccessibleTreeNode.java
b/main/toolkit/test/accessibility/AccessibleTreeNode.java
index 10cb4f4284..ac225266a0 100644
--- a/main/toolkit/test/accessibility/AccessibleTreeNode.java
+++ b/main/toolkit/test/accessibility/AccessibleTreeNode.java
@@ -109,7 +109,7 @@ class AccessibleTreeNode
return maDisplayObject.toString();
}
- /** get names of suported actions */
+ /** get names of supported actions */
public String[] getActions ()
{
return new String[] {};
diff --git a/main/toolkit/test/accessibility/NodeHandler.java
b/main/toolkit/test/accessibility/NodeHandler.java
index 32195960fb..f9a0e94f28 100644
--- a/main/toolkit/test/accessibility/NodeHandler.java
+++ b/main/toolkit/test/accessibility/NodeHandler.java
@@ -142,7 +142,7 @@ abstract class NodeHandler
// public void setChild(Object aObject, int nIndex) { }
- /** get names of suported actions */
+ /** get names of supported actions */
public String[] getActions (AccessibleTreeNode aNode)
{
return new String[] {};
diff --git a/main/ucb/source/ucp/gvfs/gvfs_content.cxx
b/main/ucb/source/ucp/gvfs/gvfs_content.cxx
index cc7f989b8a..7586ee863c 100644
--- a/main/ucb/source/ucp/gvfs/gvfs_content.cxx
+++ b/main/ucb/source/ucp/gvfs/gvfs_content.cxx
@@ -416,7 +416,7 @@ uno::Any SAL_CALL Content::execute(
transfer( transferArgs, xEnv );
- } else { // Unsuported
+ } else { // Unsupported
#ifdef DEBUG
g_warning( "Unsupported command: '%s'",
OUStringToGnome( aCommand.Name ) );
diff --git a/main/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
b/main/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
index c30dcb46ba..eee659fc0c 100644
--- a/main/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
+++ b/main/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
@@ -1139,9 +1139,9 @@ void generateCalcAddin(ProgramOptions const & options,
}
// if backwardcompatible==true the AddIn service needs to be added to the
- // suported service list, the necessary intefaces are mapped to the add-in
+ // supported service list, the necessary interfaces are mapped to the
add-in
// configuration. Since OO.org 2.0.4 this is obsolete and the add-in is
- // take form the configuration from Calc directly, this simplifies the
+ // taken from the configuration from Calc directly, this simplifies the
// add-in code
if (options.backwardcompatible) {
checkType(manager, "com.sun.star.sheet.AddIn",
diff --git a/main/unodevtools/source/skeletonmaker/javacompskeleton.cxx
b/main/unodevtools/source/skeletonmaker/javacompskeleton.cxx
index a21f5c9989..15506eb64f 100644
--- a/main/unodevtools/source/skeletonmaker/javacompskeleton.cxx
+++ b/main/unodevtools/source/skeletonmaker/javacompskeleton.cxx
@@ -905,9 +905,9 @@ void generateSkeleton(ProgramOptions const & options,
}
// if backwardcompatible==true the AddIn service needs to be added to
the
- // suported service list, the necessary intefaces are mapped to the
add-in
+ // supported service list, the necessary interfaces are mapped to the
add-in
// configuration. Since OO.org 2.0.4 this is obsolete and the add-in is
- // take form the configuration from Calc directly, this simplifies the
+ // taken from the configuration from Calc directly, this simplifies the
// add-in code
if (options.backwardcompatible) {
checkType(manager, "com.sun.star.sheet.AddIn",
diff --git a/main/unotools/source/processfactory/processfactory.cxx
b/main/unotools/source/processfactory/processfactory.cxx
index 2ba84102d4..91f5ce9e5f 100644
--- a/main/unotools/source/processfactory/processfactory.cxx
+++ b/main/unotools/source/processfactory/processfactory.cxx
@@ -46,4 +46,4 @@ namespace utl
return ::comphelper::getProcessServiceFactory();
}
-} // namesapce utl
+} // namespace utl
diff --git a/main/vcl/inc/vcl/virdev.hxx b/main/vcl/inc/vcl/virdev.hxx
index c225e564ef..7818c13b8b 100644
--- a/main/vcl/inc/vcl/virdev.hxx
+++ b/main/vcl/inc/vcl/virdev.hxx
@@ -92,7 +92,7 @@ public:
/** Create a virtual device using an existing system dependent device or
graphics context
Any rendering will happen directly on the context and not on any
intermediate bitmap.
- Note: This might not be suported on all platforms !
+ Note: This might not be supported on all platforms !
*/
explicit VirtualDevice( const SystemGraphicsData
*pData, sal_uInt16 nBitCount );
diff --git a/main/vcl/unx/generic/window/salframe.cxx
b/main/vcl/unx/generic/window/salframe.cxx
index fdc36a8a1f..a669fb8268 100644
--- a/main/vcl/unx/generic/window/salframe.cxx
+++ b/main/vcl/unx/generic/window/salframe.cxx
@@ -2786,7 +2786,7 @@ bool X11SalFrame::SetPluginParent( SystemParentData*
pNewParent )
// Sound
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-void X11SalFrame::Beep( SoundType eSoundType ) // not fully suported
+void X11SalFrame::Beep( SoundType eSoundType ) // not fully supported
{
switch( eSoundType )
{
diff --git a/main/writerfilter/source/ooxml/factorytools.xsl
b/main/writerfilter/source/ooxml/factorytools.xsl
index c1837d19d1..42365e08e6 100644
--- a/main/writerfilter/source/ooxml/factorytools.xsl
+++ b/main/writerfilter/source/ooxml/factorytools.xsl
@@ -168,7 +168,7 @@ NN_<namespace/@name> | DEFINE_<rng:define/@name>
creates case label for a rng:define:
-case NN_<namesapce/@name> | DEFINE_<rng:define/@name>:
+case NN_<namespace/@name> | DEFINE_<rng:define/@name>:
-->
<xsl:template name="caselabeldefine">