summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comphelper/inc/comphelper/configurationhelper.hxx6
-rw-r--r--comphelper/inc/comphelper/containermultiplexer.hxx2
-rw-r--r--comphelper/inc/comphelper/sequenceashashmap.hxx2
-rw-r--r--comphelper/inc/comphelper/sequenceasvector.hxx2
-rw-r--r--comphelper/source/misc/sequenceashashmap.cxx4
-rw-r--r--dbaccess/source/core/api/RowSet.cxx2
-rw-r--r--desktop/source/app/app.cxx2
-rwxr-xr-xdmake/configure2
-rw-r--r--dmake/configure.in2
-rw-r--r--dmake/dbug/malloc/_readme6
-rw-r--r--dmake/doc/read1st.txt2
-rw-r--r--dmake/extern.h4
-rw-r--r--dmake/man/dmake.nc2
-rw-r--r--dmake/man/dmake.tf2
-rw-r--r--editeng/inc/editeng/editdata.hxx2
-rw-r--r--editeng/source/editeng/impedit3.cxx2
-rw-r--r--embedserv/source/embed/ed_ioleobject.cxx2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/layoutX.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl2
-rw-r--r--extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl2
-rw-r--r--filter/source/config/cache/filterfactory.cxx4
-rw-r--r--filter/source/config/cache/typedetection.hxx2
-rw-r--r--filter/source/config/cache/versions.hxx2
-rw-r--r--forms/source/richtext/richtextimplcontrol.cxx2
-rw-r--r--fpicker/source/office/iodlg.cxx2
-rw-r--r--framework/inc/dispatch/servicehandler.hxx2
-rw-r--r--framework/inc/stdtypes.h6
-rw-r--r--framework/inc/threadhelp/lockhelper.hxx6
-rw-r--r--framework/qa/complex/XUserInputInterception/EventTest.java4
-rw-r--r--framework/qa/complex/framework/autosave/Protocol.java2
-rw-r--r--framework/source/fwe/dispatch/interaction.cxx2
-rw-r--r--framework/source/inc/loadenv/actionlockguard.hxx2
-rw-r--r--framework/source/inc/loadenv/loadenv.hxx2
-rw-r--r--framework/source/jobs/jobdata.cxx2
-rw-r--r--framework/source/jobs/jobresult.cxx4
-rw-r--r--framework/source/services/autorecovery.cxx4
-rw-r--r--framework/source/services/desktop.cxx2
-rw-r--r--framework/source/services/frame.cxx2
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java2
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/UI.xcs2
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/UI/WindowState.xcs2
-rw-r--r--qadevOOo/runner/complexlib/ComplexTestCase.java2
-rw-r--r--qadevOOo/runner/helper/LoggingThread.java2
-rw-r--r--qadevOOo/runner/helper/OfficeProvider.java2
-rw-r--r--qadevOOo/runner/lib/TestParameters.java2
-rw-r--r--qadevOOo/runner/share/LogWriter.java2
-rw-r--r--qadevOOo/runner/util/CalcTools.java2
-rw-r--r--qadevOOo/runner/util/utils.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java8
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XFrame.java2
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java8
-rw-r--r--sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx4
-rw-r--r--sd/source/ui/dlg/prltempl.cxx2
-rw-r--r--sd/source/ui/docshell/docshell.cxx2
-rw-r--r--sd/source/ui/view/sdview.cxx2
-rw-r--r--sd/source/ui/view/viewshel.cxx2
-rw-r--r--sfx2/source/appl/appopen.cxx2
-rw-r--r--sfx2/source/menu/mnuitem.cxx2
-rw-r--r--shell/inc/internal/xml_parser.hxx2
-rw-r--r--sot/source/sdstor/ucbstorage.cxx4
-rw-r--r--svtools/inc/svtools/contextmenuhelper.hxx2
-rw-r--r--svtools/source/control/inettbc.cxx2
-rw-r--r--sw/source/core/view/viewsh.cxx4
-rw-r--r--tools/source/fsys/urlobj.cxx2
-rw-r--r--ucbhelper/inc/ucbhelper/content.hxx2
-rw-r--r--unixODBC/inc/sqltypes.h2
-rw-r--r--unotools/source/config/viewoptions.cxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl2.cxx2
-rw-r--r--vcl/source/window/menu.cxx2
-rw-r--r--xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx2
71 files changed, 95 insertions, 95 deletions
diff --git a/comphelper/inc/comphelper/configurationhelper.hxx b/comphelper/inc/comphelper/configurationhelper.hxx
index 1a31c9afb851..3ad6b44398dd 100644
--- a/comphelper/inc/comphelper/configurationhelper.hxx
+++ b/comphelper/inc/comphelper/configurationhelper.hxx
@@ -81,7 +81,7 @@ class COMPHELPER_DLLPUBLIC ConfigurationHelper
*
* @param eMode
* specify the open mode for the returned configuration access.
- * It's interpreted as a flag field and can be any usefull combination
+ * It's interpreted as a flag field and can be any useful combination
* of values of EConfigurationModes.
*
* @throw Any exceptions the underlying configuration can throw.
@@ -206,7 +206,7 @@ class COMPHELPER_DLLPUBLIC ConfigurationHelper
* Because it opens the specified configuration package, reads the key and
* closes the configuration again.
*
- * So its not very usefull to use this method for reading multiple keys at the same time.
+ * So its not very useful to use this method for reading multiple keys at the same time.
* (Excepting these keys exists inside different configuration packages ...))
*/
static css::uno::Any readDirectKey(const css::uno::Reference< css::uno::XComponentContext >& rxContext,
@@ -222,7 +222,7 @@ class COMPHELPER_DLLPUBLIC ConfigurationHelper
* Because it opens the specified configuration package, writes the key, flush
* all changes and closes the configuration again.
*
- * So its not very usefull to use this method for writing multiple keys at the same time.
+ * So its not very useful to use this method for writing multiple keys at the same time.
* (Excepting these keys exists inside different configuration packages ...))
*/
static void writeDirectKey(const css::uno::Reference< css::uno::XComponentContext >& rxContext,
diff --git a/comphelper/inc/comphelper/containermultiplexer.hxx b/comphelper/inc/comphelper/containermultiplexer.hxx
index 364a7846afbe..725265e493c6 100644
--- a/comphelper/inc/comphelper/containermultiplexer.hxx
+++ b/comphelper/inc/comphelper/containermultiplexer.hxx
@@ -35,7 +35,7 @@ namespace comphelper
//= OContainerListener
//=====================================================================
/** a non-UNO container listener
- <p>Usefull if you have a non-refcountable class which should act as container listener.<br/>
+ <p>Useful if you have a non-refcountable class which should act as container listener.<br/>
In this case, derive this class from OContainerListener, and create an adapter
<type>OContainerListenerAdapter</type> which multiplexes the changes.</p>
*/
diff --git a/comphelper/inc/comphelper/sequenceashashmap.hxx b/comphelper/inc/comphelper/sequenceashashmap.hxx
index 284714ffb20b..acf61f1a9031 100644
--- a/comphelper/inc/comphelper/sequenceashashmap.hxx
+++ b/comphelper/inc/comphelper/sequenceashashmap.hxx
@@ -81,7 +81,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase
SequenceAsHashMap(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& lSource);
//---------------------------------------
- /** @short not realy used but maybe usefull :-)
+ /** @short not realy used but maybe useful :-)
*/
~SequenceAsHashMap();
diff --git a/comphelper/inc/comphelper/sequenceasvector.hxx b/comphelper/inc/comphelper/sequenceasvector.hxx
index 4f4ceb70501a..305eba9245ff 100644
--- a/comphelper/inc/comphelper/sequenceasvector.hxx
+++ b/comphelper/inc/comphelper/sequenceasvector.hxx
@@ -35,7 +35,7 @@ namespace comphelper{
@descr That provides the possibility to modify
sequences very easy ...
- Of course this can be usefull only, if
+ Of course this can be useful only, if
count of modifications is high, so copying
of the sequence make sense!
*/
diff --git a/comphelper/source/misc/sequenceashashmap.cxx b/comphelper/source/misc/sequenceashashmap.cxx
index d11153ee8ee0..e957c0193411 100644
--- a/comphelper/source/misc/sequenceashashmap.cxx
+++ b/comphelper/source/misc/sequenceashashmap.cxx
@@ -96,7 +96,7 @@ void SequenceAsHashMap::operator<<(const css::uno::Sequence< css::uno::Any >& lS
(!lP.Value.hasValue())
)
throw css::beans::IllegalTypeException(
- OUString( "PropertyValue struct contains no usefull informations." ),
+ OUString( "PropertyValue struct contains no useful informations." ),
css::uno::Reference< css::uno::XInterface >());
(*this)[lP.Name] = lP.Value;
continue;
@@ -110,7 +110,7 @@ void SequenceAsHashMap::operator<<(const css::uno::Sequence< css::uno::Any >& lS
(!lN.Value.hasValue())
)
throw css::beans::IllegalTypeException(
- OUString( "NamedValue struct contains no usefull informations." ),
+ OUString( "NamedValue struct contains no useful informations." ),
css::uno::Reference< css::uno::XInterface >());
(*this)[lN.Name] = lN.Value;
continue;
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index f3654a6fa67c..2a1ce71b4cf3 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -1586,7 +1586,7 @@ void ORowSet::setStatementResultSetType( const Reference< XPropertySet >& _rxSta
if ( bRespectDriverRST )
{
- // try type/concurrency settings with decreasing usefullness, and rely on what the connection claims
+ // try type/concurrency settings with decreasing usefulness, and rely on what the connection claims
// to support
Reference< XDatabaseMetaData > xMeta( m_xActiveConnection->getMetaData() );
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 6260a65004cf..5f544ef6555d 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1082,7 +1082,7 @@ sal_Bool Desktop::isCrashReporterEnabled()
@param bCrashed [boolean ... out!]
the office crashed last times.
But may be there are no recovery data.
- Usefull to trigger the error report tool without
+ Useful to trigger the error report tool without
showing the recovery UI.
@param bRecoveryDataExists [boolean ... out!]
diff --git a/dmake/configure b/dmake/configure
index 11d328de0e77..f4dd88d490e4 100755
--- a/dmake/configure
+++ b/dmake/configure
@@ -7892,7 +7892,7 @@ _ACEOF
fi
done
-# Usefull, but special to newlib/MSVC
+# Useful, but special to newlib/MSVC
for ac_func in strlwr
do
diff --git a/dmake/configure.in b/dmake/configure.in
index d82c889afe63..f852cb19481c 100644
--- a/dmake/configure.in
+++ b/dmake/configure.in
@@ -212,7 +212,7 @@ AC_TYPE_SIGNAL
AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(getcwd getwd strerror setvbuf tzset settz mkstemp tempnam gettimeofday setenv)
-# Usefull, but special to newlib/MSVC
+# Useful, but special to newlib/MSVC
AC_CHECK_FUNCS(strlwr)
dnl *** output to disk ***
diff --git a/dmake/dbug/malloc/_readme b/dmake/dbug/malloc/_readme
index b78b1fd6bbcd..17819c7e9cdc 100644
--- a/dmake/dbug/malloc/_readme
+++ b/dmake/dbug/malloc/_readme
@@ -27,7 +27,7 @@ Features of this library:
beyound the size requested on the initial malloc is checked to
verify that it is still filled with the original fill characters.
- This is usefull for catching things like:
+ This is useful for catching things like:
ptr = malloc(5);
ptr[5] = '\0';
@@ -41,7 +41,7 @@ Features of this library:
so that you can easily determine if you are still using free'd space.
The fill pattern for free'd areas is 0x02.
- This is usefull for catching things like:
+ This is useful for catching things like:
ptr = malloc(20);
@@ -67,7 +67,7 @@ Features of this library:
If the operation goes beyond requested malloc space
call malloc_warning()
- This is usefull for catching things like:
+ This is useful for catching things like:
ptr = malloc(5);
strcpy(ptr,"abcde");
diff --git a/dmake/doc/read1st.txt b/dmake/doc/read1st.txt
index 1ff1229e6b32..34b5424cd482 100644
--- a/dmake/doc/read1st.txt
+++ b/dmake/doc/read1st.txt
@@ -47,7 +47,7 @@ a directory of your choice. You may also want to copy the man/
sub-directory for future access to the manual page.
-All other systems might look in the public/ directory for usefull hints.
+All other systems might look in the public/ directory for useful hints.
The original sources of dmake were available on http://dmake.wticorp.com.
diff --git a/dmake/extern.h b/dmake/extern.h
index c28eb02bda5d..b6259df0be36 100644
--- a/dmake/extern.h
+++ b/dmake/extern.h
@@ -130,8 +130,8 @@ char *cygdospath(char *src, int winpath);
#endif
-/* Define some usefull macros. This is done here and not in config.h
- * to keep this changes usefull even when not using the autotools based
+/* Define some useful macros. This is done here and not in config.h
+ * to keep this changes useful even when not using the autotools based
* build, i.e. using config.h files that are local to the architecture. */
#if defined(_WIN32) || defined(__CYGWIN__) || defined(MSDOS) || defined(OS2) || defined(__EMX__)
# define HAVE_DRIVE_LETTERS 1
diff --git a/dmake/man/dmake.nc b/dmake/man/dmake.nc
index 9961119ddf6b..8b308f75ff26 100644
--- a/dmake/man/dmake.nc
+++ b/dmake/man/dmake.nc
@@ -222,7 +222,7 @@ DMAKE(1) DMAKE(1)
m Notify of target update operations only.
r Force output of recipe lines, warnings and executed com-
- mands. This switch is usefull when debugging makefiles
+ mands. This switch is useful when debugging makefiles
that disable the output using the @ or @@ property for
recipe lines or the .SILENT target/attribute. It also
overrides the -s flag.
diff --git a/dmake/man/dmake.tf b/dmake/man/dmake.tf
index 981d82fc0609..562e872120ae 100644
--- a/dmake/man/dmake.tf
+++ b/dmake/man/dmake.tf
@@ -224,7 +224,7 @@ Notify of inference algorithm operation only.
Notify of target update operations only.
.IP "\fBr\fP"
Force output of recipe lines, warnings and executed commands. This switch
-is usefull when debugging makefiles that disable the output using the @
+is useful when debugging makefiles that disable the output using the @
or @@ property for recipe lines or the .SILENT target/attribute.
It also overrides the -s flag.
.IP "\fBt\fP"
diff --git a/editeng/inc/editeng/editdata.hxx b/editeng/inc/editeng/editdata.hxx
index ca2c1b74b497..9b6d9e7005c3 100644
--- a/editeng/inc/editeng/editdata.hxx
+++ b/editeng/inc/editeng/editdata.hxx
@@ -32,7 +32,7 @@ class SvxFieldItem;
enum EETextFormat { EE_FORMAT_TEXT = 0x20, EE_FORMAT_RTF, EE_FORMAT_BIN = 0x31, EE_FORMAT_HTML, EE_FORMAT_XML };
enum EEHorizontalTextDirection { EE_HTEXTDIR_DEFAULT, EE_HTEXTDIR_L2R, EE_HTEXTDIR_R2L };
enum EESelectionMode { EE_SELMODE_STD, EE_SELMODE_TXTONLY, EE_SELMODE_HIDDEN };
- // EE_SELMODE_HIDDEN can be used to completely hide the selection. This is usefull e.g. when you want show the selection
+ // EE_SELMODE_HIDDEN can be used to completely hide the selection. This is useful e.g. when you want show the selection
// only as long as your window (which the edit view works on) has the focus
enum EESpellState { EE_SPELL_OK, EE_SPELL_NOLANGUAGE, EE_SPELL_LANGUAGENOTINSTALLED, EE_SPELL_NOSPELLER, EE_SPELL_ERRORFOUND };
enum EVAnchorMode {
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 626458dc1c7d..445d711adbcd 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -1043,7 +1043,7 @@ sal_Bool ImpEditEngine::CreateLines( sal_uInt16 nPara, sal_uInt32 nStartPosY )
bBrokenLine = sal_True;
}
// Compression in Fields????
- // I think this could be a little bit difficult and is not very usefull
+ // I think this could be a little bit difficult and is not very useful
bCompressedChars = sal_False;
}
break;
diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx
index e8651b3581cd..989a22113b24 100644
--- a/embedserv/source/embed/ed_ioleobject.cxx
+++ b/embedserv/source/embed/ed_ioleobject.cxx
@@ -196,7 +196,7 @@ STDMETHODIMP EmbedDocument_Impl::DoVerb(
case OLEIVERB_OPEN:
OSL_ENSURE(m_pDocHolder,"no document to open");
- // the commented code could be usefull in case
+ // the commented code could be useful in case
// outer window would be resized depending from inner one
// RECTL aEmbArea;
// m_pDocHolder->GetVisArea( &aEmbArea );
diff --git a/extras/source/misc_config/wizard/web/layouts/layoutX.xsl b/extras/source/misc_config/wizard/web/layouts/layoutX.xsl
index 90d40b9e8b69..ed683f8fdfb3 100644
--- a/extras/source/misc_config/wizard/web/layouts/layoutX.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/layoutX.xsl
@@ -61,7 +61,7 @@
-->
<!-- use this to group documents, it
- is for example usefull when generating tables -->
+ is for example useful when generating tables -->
<xsl:variable name="group" select="3"/>
diff --git a/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl
index 1cb498f649c3..08aaa1ccac1b 100644
--- a/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl
@@ -101,7 +101,7 @@ places...
<!-- - - -->
<!-- use this to group documents, it
- is for example usefull when generating tables -->
+ is for example useful when generating tables -->
diff --git a/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl
index 2f082d805ad6..c939b64b216b 100644
--- a/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl
+++ b/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl
@@ -101,7 +101,7 @@ places...
<!-- - - -->
<!-- use this to group documents, it
- is for example usefull when generating tables -->
+ is for example useful when generating tables -->
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx
index 020fd1360588..e6725c1a5fbb 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -339,7 +339,7 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize
// "iflags=" => not allowed
// "iflags=-1" => not allowed
- // "iflags=0" => not usefull
+ // "iflags=0" => not useful
// "iflags=283648" => only filter, which has set these flag field will be addressed
sal_Int32 nCheckValue = aFilter.getUnpackedValueOrDefault(PROPNAME_FLAGS, (sal_Int32)0);
if (
@@ -352,7 +352,7 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize
// "eflags=" => not allowed
// "eflags=-1" => not allowed
- // "eflags=0" => not usefull
+ // "eflags=0" => not useful
// "eflags=283648" => only filter, which has not set these flag field will be addressed
if (
(nEFlags > 0 ) &&
diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx
index c260a5a29b53..ae2882304682 100644
--- a/filter/source/config/cache/typedetection.hxx
+++ b/filter/source/config/cache/typedetection.hxx
@@ -127,7 +127,7 @@ private:
should be returned. Of course using of it can fail too ... but its a try :-)
As an optimization - this method collects the names of all used deep
- detection services. This information can be usefull inside the may be
+ detection services. This information can be useful inside the may be
afterwards called method "impl_detectTypeDeepOnly()"!
@param rDescriptor
diff --git a/filter/source/config/cache/versions.hxx b/filter/source/config/cache/versions.hxx
index 71789ddeb3a9..18bea02ea221 100644
--- a/filter/source/config/cache/versions.hxx
+++ b/filter/source/config/cache/versions.hxx
@@ -22,7 +22,7 @@
//_______________________________________________
-#define _FILTER_CONFIG_MIGRATION_Q_ // usefull for migration time, to support some old functionality temp. :-)
+#define _FILTER_CONFIG_MIGRATION_Q_ // useful for migration time, to support some old functionality temp. :-)
#endif // _FILTER_CONFIG_VERSIONS_HXX_
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx
index ed376d340f8b..c23ed5ce05da 100644
--- a/forms/source/richtext/richtextimplcontrol.cxx
+++ b/forms/source/richtext/richtextimplcontrol.cxx
@@ -116,7 +116,7 @@ namespace frm
// type (Latin, Asian, Complex). However, if we have an observer who is interested
// in the state of this attribute, we have to kind of *merge* the three attributes
// to only one.
- // This is usefull in case the observer is for instance a toolbox which contains only
+ // This is useful in case the observer is for instance a toolbox which contains only
// an, e.g., "bold" slot, and thus not interested in the particular script type of the
// current selection.
SvxScriptSetItem aNormalizedSet( (WhichId)_pHandler->first, *m_pView->GetAttribs().GetPool() );
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 9aff26e458b0..099ec8782599 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -3063,7 +3063,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/framework/inc/dispatch/servicehandler.hxx b/framework/inc/dispatch/servicehandler.hxx
index 5205c4223475..3813bb9bc515 100644
--- a/framework/inc/dispatch/servicehandler.hxx
+++ b/framework/inc/dispatch/servicehandler.hxx
@@ -47,7 +47,7 @@ namespace framework{
be automaticly used by the framework dispatch mechanism if such URL occurred.
His job is to create any registered uno components which must be coded inside
dispatched URL (may with some optional given parameters). After that such created
- service must be hold his self alive. Such mechanism can be usefull for UI components
+ service must be hold his self alive. Such mechanism can be useful for UI components
(e.g. Dialogs, Wizards) only.
@base ThreadHelpBase
diff --git a/framework/inc/stdtypes.h b/framework/inc/stdtypes.h
index 904e3d30cc4a..8d394378128e 100644
--- a/framework/inc/stdtypes.h
+++ b/framework/inc/stdtypes.h
@@ -92,7 +92,7 @@ struct KeyEventEqualsFunc
/**
Basic string list based on a std::vector()
- It implements some additional funtionality which can be usefull but
+ It implements some additional funtionality which can be useful but
is missing at the normal vector implementation.
*/
class OUStringList : public ::comphelper::SequenceAsVector< ::rtl::OUString >
@@ -127,7 +127,7 @@ class OUStringList : public ::comphelper::SequenceAsVector< ::rtl::OUString >
/**
Basic string queue based on a std::queue()
- It implements some additional funtionality which can be usefull but
+ It implements some additional funtionality which can be useful but
is missing at the normal std implementation.
*/
typedef ::std::queue< ::rtl::OUString > OUStringQueue;
@@ -136,7 +136,7 @@ typedef ::std::queue< ::rtl::OUString > OUStringQueue;
/**
Basic hash based on a boost::unordered_map() which provides key=[OUString] and value=[template type] pairs
- It implements some additional funtionality which can be usefull but
+ It implements some additional funtionality which can be useful but
is missing at the normal hash implementation.
*/
template< class TType >
diff --git a/framework/inc/threadhelp/lockhelper.hxx b/framework/inc/threadhelp/lockhelper.hxx
index b72f041f39b1..9bdfe86ce5c8 100644
--- a/framework/inc/threadhelp/lockhelper.hxx
+++ b/framework/inc/threadhelp/lockhelper.hxx
@@ -51,12 +51,12 @@ enum ELockType
@short helper to set right lock in right situation
@descr This helper support different types of locking:
a) no locks - transparent for user!
- This could be usefull for simluation or single threaded environments!
+ This could be useful for simluation or single threaded environments!
b) own mutex
- An object use his own osl-mutex to be threadsafe. Usefull for easy and exclusiv locking.
+ An object use his own osl-mutex to be threadsafe. Useful for easy and exclusiv locking.
c) solar mutex
An object use our solar mutex and will be a part of a greater safed "threadsafe code block".
- Could be usefull for simulation and testing of higher modules!
+ Could be useful for simulation and testing of higher modules!
d) fair rw-lock
An object use an implementation of a fair rw-lock. This increase granularity of t hreadsafe mechanism
and should be used for high performance threadsafe code!
diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java
index 829ebe60c6f6..f6a24cc15520 100644
--- a/framework/qa/complex/XUserInputInterception/EventTest.java
+++ b/framework/qa/complex/XUserInputInterception/EventTest.java
@@ -400,7 +400,7 @@ public class EventTest {
return true;
}
/**
- * This event does nothing usefull
+ * This event does nothing useful
* @param oEvent refers to the object that fired the event.
*/
public void disposing( EventObject oEvent ){
@@ -436,7 +436,7 @@ public class EventTest {
return true;
}
/**
- * This event does nothing usefull
+ * This event does nothing useful
* @param oEvent refers to the object that fired the event.
*/
public void disposing( EventObject oEvent ){
diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java
index 3c78f43ea224..c49e461258f6 100644
--- a/framework/qa/complex/framework/autosave/Protocol.java
+++ b/framework/qa/complex/framework/autosave/Protocol.java
@@ -166,7 +166,7 @@ public class Protocol extends JComponent
private int m_nType;
/// of course, we have to know the logged message too :-)
private String m_sMessage;
- /// and it can be usefull to know the current time, when this line was created
+ /// and it can be useful to know the current time, when this line was created
private Timestamp m_aStamp;
/** ctor for fast initializing of such line */
diff --git a/framework/source/fwe/dispatch/interaction.cxx b/framework/source/fwe/dispatch/interaction.cxx
index f2898f5fc218..43796114ed2d 100644
--- a/framework/source/fwe/dispatch/interaction.cxx
+++ b/framework/source/fwe/dispatch/interaction.cxx
@@ -35,7 +35,7 @@ namespace framework{
Why? Normaly interaction should show a filter selection dialog and ask user for his decision.
He can select any filter - then instances of these class will be called by handler ... or user
close dialog without any selection. Then another continuation should be slected by handler to
- abort continuations ... Retrying isn't very usefull here ... I think.
+ abort continuations ... Retrying isn't very useful here ... I think.
@implements XInteractionFilterSelect
diff --git a/framework/source/inc/loadenv/actionlockguard.hxx b/framework/source/inc/loadenv/actionlockguard.hxx
index f85480f98981..ececc85def5e 100644
--- a/framework/source/inc/loadenv/actionlockguard.hxx
+++ b/framework/source/inc/loadenv/actionlockguard.hxx
@@ -57,7 +57,7 @@ class ActionLockGuard : private ThreadHelpBase
//---------------------------------------
/** @short default ctor to initialize a "non working guard".
- @descr That can be usefull in cases, where no resource still exists,
+ @descr That can be useful in cases, where no resource still exists,
but will be available next time. Then this guard can be used
in a mode "use guard for more then one resources".
*/
diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx
index ba50b7d24b0e..126bc7ff0511 100644
--- a/framework/source/inc/loadenv/loadenv.hxx
+++ b/framework/source/inc/loadenv/loadenv.hxx
@@ -264,7 +264,7 @@ public:
But may this check was already made by the caller of this method and
passing this information to this LoadEnv instance can supress this
might expensive check.
- That can be usefull in case this information is needed outside too,
+ That can be useful in case this information is needed outside too,
to decide if its neccessary to create some resources for this load
request ... or to reject the request imidiatly if it seems to be not
loadable in general.
diff --git a/framework/source/jobs/jobdata.cxx b/framework/source/jobs/jobdata.cxx
index ad3468c1f46e..173d9d9a8d76 100644
--- a/framework/source/jobs/jobdata.cxx
+++ b/framework/source/jobs/jobdata.cxx
@@ -504,7 +504,7 @@ sal_Bool JobData::hasConfig() const
And there exist two of them: one for an administrator ... and one for the
current user. We change it for the user layer only. So this JobDispatch can't be
started any more ... till the administrator change his timestamp.
- That can be usefull for post setup scenarios, which must run one time only.
+ That can be useful for post setup scenarios, which must run one time only.
Note: This method don't do anything, if ths represented job doesn't have a configuration!
*/
diff --git a/framework/source/jobs/jobresult.cxx b/framework/source/jobs/jobresult.cxx
index 0af4d78bf77b..42ffd7ab192f 100644
--- a/framework/source/jobs/jobresult.cxx
+++ b/framework/source/jobs/jobresult.cxx
@@ -40,7 +40,7 @@ JobResult::JobResult()
{
// reset the flag mask!
// It will reset the accessible state of this object.
- // That can be usefull if something will fail here ...
+ // That can be useful if something will fail here ...
m_eParts = E_NOPART;
}
@@ -97,7 +97,7 @@ JobResult::JobResult( /*IN*/ const css::uno::Any& aResult )
// reset the flag mask!
// It will reset the accessible state of this object.
- // That can be usefull if something will fail here ...
+ // That can be useful if something will fail here ...
m_eParts = E_NOPART;
// analyze the result and update our other members
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 2cd18a13abcb..79cf9a87b71f 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -1323,7 +1323,7 @@ void AutoRecovery::implts_flushConfigItem(const AutoRecovery::TDocumentInfo& rIn
catch(const css::uno::Exception&)
{
// a) FULL DISC seams to be the problem behind => show error and retry it forever (e.g. retry=300)
- // b) unknown problem (may be locking problem) => reset RETRY value to more usefull value(!) (e.g. retry=3)
+ // b) unknown problem (may be locking problem) => reset RETRY value to more useful value(!) (e.g. retry=3)
// c) unknown problem (may be locking problem) + 1..2 repeating operations => throw the original exception to force generation of a stacktrace !
// SAFE ->
@@ -2359,7 +2359,7 @@ void AutoRecovery::implts_saveOneDoc(const ::rtl::OUString&
bError = sal_True;
// a) FULL DISC seams to be the problem behind => show error and retry it forever (e.g. retry=300)
- // b) unknown problem (may be locking problem) => reset RETRY value to more usefull value(!) (e.g. retry=3)
+ // b) unknown problem (may be locking problem) => reset RETRY value to more useful value(!) (e.g. retry=3)
// c) unknown problem (may be locking problem) + 1..2 repeating operations => throw the original exception to force generation of a stacktrace !
// SAFE ->
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index 7cdf7305791c..f57fa50cb190 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -1111,7 +1111,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r
// This is a special flag. Normaly it regulate search inside tasks and forbid access to parent trees.
// But the desktop exists outside such task trees. They are our sub trees. So the desktop implement
// a special feature: We use it to start search on our direct children only. That means we supress
- // search on ALL child frames. May that can be usefull to get access on opened document tasks
+ // search on ALL child frames. May that can be useful to get access on opened document tasks
// only without filter out all non realy required sub frames ...
// Used helper method on our container doesn't create any frame - its a search only.
//-------------------------------------------------------------------------------------------------
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 4f00ceed9aff..2a6639c4b3c1 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -531,7 +531,7 @@ void SAL_CALL Frame::initialize( const css::uno::Reference< css::awt::XWindow >&
if ( m_xContainerWindow.is() )
throw css::uno::RuntimeException(
- ::rtl::OUString("Frame::initialized() is called more then once, which isnt usefull nor allowed."),
+ ::rtl::OUString("Frame::initialized() is called more then once, which isnt useful nor allowed."),
static_cast< css::frame::XFrame* >(this));
// Look for rejected calls first!
diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
index efec7d80ec4f..4ecd7147da15 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
@@ -192,7 +192,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
aSaveRequest.Name = "SaveArguments";
aSaveRequest.Value = lJobConfig;
- // Deactivation is usefull inside EXECUTOR environment only
+ // Deactivation is useful inside EXECUTOR environment only
if (sEnvType.equals("EXECUTOR"))
{
++c;
@@ -201,7 +201,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
aDeactivation.Value = java.lang.Boolean.TRUE;
}
- // Sending of result events is usefull inside DISPATCH environment only
+ // Sending of result events is useful inside DISPATCH environment only
if (sEnvType.equals("DISPATCH"))
{
++c;
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
index 69e218a25b85..66eb053bd2c8 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
@@ -305,7 +305,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
// Don't look for ignoring actions - it was done already inside original frameAction() call!
boolean bRegister = false;
- // analyze the event and decide which reaction is usefull
+ // analyze the event and decide which reaction is useful
switch(aEvent.Action.getValue())
{
case com.sun.star.frame.FrameAction.COMPONENT_ATTACHED_value : bRegister = true ; break;
diff --git a/officecfg/registry/schema/org/openoffice/Office/UI.xcs b/officecfg/registry/schema/org/openoffice/Office/UI.xcs
index 611626771a1f..736dec917108 100644
--- a/officecfg/registry/schema/org/openoffice/Office/UI.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/UI.xcs
@@ -630,7 +630,7 @@
</info>
<prop oor:name="FillAsynchronously" oor:type="xs:boolean" oor:nillable="false">
<info>
- <desc>Specifies whether the dialog should fill its view asynchronously. Asnychronous filling allows the user to cancel blocking operations, which may be usefull for instance for mounted, but dead NFS devices.</desc>
+ <desc>Specifies whether the dialog should fill its view asynchronously. Asnychronous filling allows the user to cancel blocking operations, which may be useful for instance for mounted, but dead NFS devices.</desc>
</info>
<value>false</value>
</prop>
diff --git a/officecfg/registry/schema/org/openoffice/Office/UI/WindowState.xcs b/officecfg/registry/schema/org/openoffice/Office/UI/WindowState.xcs
index 059cfaf121a2..c73a70742463 100644
--- a/officecfg/registry/schema/org/openoffice/Office/UI/WindowState.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/UI/WindowState.xcs
@@ -120,7 +120,7 @@
</prop>
<prop oor:name="SoftClose" oor:type="xs:boolean" oor:nillable="false">
<info>
- <desc>Specifies that a user interface element shouldn't be closed forever. This is usefull for context sensitive ui elements which must be visible whenever their context is active. This property is only used by toolbars or floating window user interface elements.</desc>
+ <desc>Specifies that a user interface element shouldn't be closed forever. This is useful for context sensitive ui elements which must be visible whenever their context is active. This property is only used by toolbars or floating window user interface elements.</desc>
</info>
<value>false</value>
</prop>
diff --git a/qadevOOo/runner/complexlib/ComplexTestCase.java b/qadevOOo/runner/complexlib/ComplexTestCase.java
index c0779f589d05..56f320abff03 100644
--- a/qadevOOo/runner/complexlib/ComplexTestCase.java
+++ b/qadevOOo/runner/complexlib/ComplexTestCase.java
@@ -146,7 +146,7 @@ public abstract class ComplexTestCase extends Assurance implements ComplexTest
{
// some tests are very dynamic in its exceution time so that
// a threadTimeOut fials. In this cases the logging mechanisim
- // is a usefull way to detect that a office respective a test
+ // is a useful way to detect that a office respective a test
// is running and not death.
// But way ThreadTimeOut?
// There exeitsts a complex test which uses no office. Therefore
diff --git a/qadevOOo/runner/helper/LoggingThread.java b/qadevOOo/runner/helper/LoggingThread.java
index 7c9b74adffdd..70249fe793c5 100644
--- a/qadevOOo/runner/helper/LoggingThread.java
+++ b/qadevOOo/runner/helper/LoggingThread.java
@@ -24,7 +24,7 @@ import util.PropertyName;
import util.utils;
/**
- * This class is printing to a <CODE>LogWriter</CODE>. This could be usefull if a UNO-API
+ * This class is printing to a <CODE>LogWriter</CODE>. This could be useful if a UNO-API
* function runns longer the time out. To avoid the assumption of death applikation
* a simple string is logged for 100 times of time out.</br>
* Example:</br>
diff --git a/qadevOOo/runner/helper/OfficeProvider.java b/qadevOOo/runner/helper/OfficeProvider.java
index 0fc978a30974..ec426a8ba330 100644
--- a/qadevOOo/runner/helper/OfficeProvider.java
+++ b/qadevOOo/runner/helper/OfficeProvider.java
@@ -177,7 +177,7 @@ public class OfficeProvider implements AppProvider
// be usesfull to restart the office if possible and continuing the tests.
// Example: The UNO-API-Tests in the projects will be executed by calling
// 'damke'. This connects to an existing office. If the office crashes
- // it is usefull to restart the office and continuing the tests.
+ // it is useful to restart the office and continuing the tests.
if ((param.getBool(util.PropertyName.AUTO_RESTART)) && (msf != null))
{
makeAppExecCommand(msf, param);
diff --git a/qadevOOo/runner/lib/TestParameters.java b/qadevOOo/runner/lib/TestParameters.java
index 3a01fd251794..9b051479f340 100644
--- a/qadevOOo/runner/lib/TestParameters.java
+++ b/qadevOOo/runner/lib/TestParameters.java
@@ -64,7 +64,7 @@ public class TestParameters extends HashMap<String,Object> {
/**
* If this parameter is <CODE>true</CODE> the <CODE>OfficeProvider</CODE> tries
* to get the URL to the binary of the office and to fill the
- * <CODE>AppExecutionCommand</CODE> with usefull content if needet
+ * <CODE>AppExecutionCommand</CODE> with useful content if needet
*/
public boolean AutoRestart = false;
diff --git a/qadevOOo/runner/share/LogWriter.java b/qadevOOo/runner/share/LogWriter.java
index 6e0eddefe958..98e2fc11b71f 100644
--- a/qadevOOo/runner/share/LogWriter.java
+++ b/qadevOOo/runner/share/LogWriter.java
@@ -49,7 +49,7 @@ public interface LogWriter {
/**
* Set a <CODE>Watcher</CODE> to the <CODE>LogWriter</CODE>
- * This is usefull if a test starts a new office instance by itself. In this cases
+ * This is useful if a test starts a new office instance by itself. In this cases
* the <CODE>LogWritter</CODE> could retrigger the <CODE>Watcher</CODE>
* @see share.Watcher
* @param watcher the new <CODE>Watcher</CODE>
diff --git a/qadevOOo/runner/util/CalcTools.java b/qadevOOo/runner/util/CalcTools.java
index 22bd2258ca3c..936267469a04 100644
--- a/qadevOOo/runner/util/CalcTools.java
+++ b/qadevOOo/runner/util/CalcTools.java
@@ -34,7 +34,7 @@ import com.sun.star.uno.Type;
import com.sun.star.uno.UnoRuntime;
/**
- * This class contains some usefull mathods to handle Calc documents
+ * This class contains some useful mathods to handle Calc documents
* and its sheets.
*/
public class CalcTools {
diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java
index 4654014f327e..2e27c6d42ca0 100644
--- a/qadevOOo/runner/util/utils.java
+++ b/qadevOOo/runner/util/utils.java
@@ -368,7 +368,7 @@ public class utils {
/**
* Gets StarOffice temp directory without 'file:///' prefix.
- * For example is usefull for Registry URL specifying.
+ * For example is useful for Registry URL specifying.
* @msf Office factory for accessing its settings.
* @return SOffice temporary directory in form for example
* 'd:/Office60/user/temp/'.
diff --git a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
index 37386f6da541..0e4a1474074e 100644
--- a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
+++ b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
@@ -268,7 +268,7 @@ public class _XUserInputInterception extends MultiMethodTest {
return true;
}
/**
- * This event does nothing usefull
+ * This event does nothing useful
* @param oEvent refers to the object that fired the event.
*/
public void disposing( EventObject oEvent ){
@@ -305,7 +305,7 @@ public class _XUserInputInterception extends MultiMethodTest {
return true;
}
/**
- * This event does nothing usefull
+ * This event does nothing useful
* @param oEvent refers to the object that fired the event.
*/
public void disposing( EventObject oEvent ){
@@ -342,7 +342,7 @@ public class _XUserInputInterception extends MultiMethodTest {
return true;
}
/**
- * This event does nothing usefull
+ * This event does nothing useful
* @param oEvent refers to the object that fired the event.
*/
public void disposing( EventObject oEvent ){
@@ -380,7 +380,7 @@ public class _XUserInputInterception extends MultiMethodTest {
return true;
}
/**
- * This event does nothing usefull
+ * This event does nothing useful
* @param oEvent refers to the object that fired the event.
*/
public void disposing( EventObject oEvent ){
diff --git a/qadevOOo/tests/java/ifc/frame/_XFrame.java b/qadevOOo/tests/java/ifc/frame/_XFrame.java
index babc97b168cc..0ed0b2e64791 100644
--- a/qadevOOo/tests/java/ifc/frame/_XFrame.java
+++ b/qadevOOo/tests/java/ifc/frame/_XFrame.java
@@ -536,7 +536,7 @@ public class _XFrame extends MultiMethodTest {
try {
oObj.initialize(win) ;
} catch (com.sun.star.uno.RuntimeException e){
- String message="Frame::initialized() is called more then once, which isnt usefull nor allowed.";
+ String message="Frame::initialized() is called more then once, which isnt useful nor allowed.";
if (e.toString().indexOf(message) != -1){
log.println(e.toString());
log.println("methods throws exception, but it's OK");
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java
index ea23768e75e6..f033ffdf1dd5 100644
--- a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java
+++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptProviderForBeanShell.java
@@ -318,20 +318,20 @@ class ScriptImpl implements XScript
{
LogUtils.DEBUG("Beanshell error RAW message " + e.getMessage());
String message = e.getMessage();
- int usefullInfoIndex = message.lastIndexOf("\' :" );
+ int usefulInfoIndex = message.lastIndexOf("\' :" );
int lineNum = e.getErrorLineNumber();
raiseEditor( lineNum );
//String stackTrace = te.getScriptStackTrace(); // never seems to have any info??
- if ( usefullInfoIndex > -1 )
+ if ( usefulInfoIndex > -1 )
{
- message = message.substring( usefullInfoIndex + 2 );
+ message = message.substring( usefulInfoIndex + 2 );
}
if ( e instanceof bsh.TargetError )
{
LogUtils.DEBUG("got instance of TargetError");
- if ( usefullInfoIndex == -1 )
+ if ( usefulInfoIndex == -1 )
{
message = ( ( bsh.TargetError)e ).getTarget().getMessage();
}
diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
index 95e6482815bf..00e1ac2b2d0f 100644
--- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
+++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
@@ -744,7 +744,7 @@ void SAL_CALL AccessibleDocumentViewBase::disposing (void)
void AccessibleDocumentViewBase::Activated (void)
{
- // Empty. Overwrite to do something usefull.
+ // Empty. Overwrite to do something useful.
}
@@ -752,7 +752,7 @@ void AccessibleDocumentViewBase::Activated (void)
void AccessibleDocumentViewBase::Deactivated (void)
{
- // Empty. Overwrite to do something usefull.
+ // Empty. Overwrite to do something useful.
}
diff --git a/sd/source/ui/dlg/prltempl.cxx b/sd/source/ui/dlg/prltempl.cxx
index f21ed9ec6108..7b2b16a025bc 100644
--- a/sd/source/ui/dlg/prltempl.cxx
+++ b/sd/source/ui/dlg/prltempl.cxx
@@ -170,7 +170,7 @@ SdPresLayoutTemplateDlg::SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh,
}
// the tabpages Alignment, Tabs and Asian Typography are very
- // usefull, except for the background style
+ // useful, except for the background style
if( DlgId.GetId() != TAB_PRES_LAYOUT_TEMPLATE_BACKGROUND )
{
SvtCJKOptions aCJKOptions;
diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx
index 6488b0ebaf34..3e66d518818f 100644
--- a/sd/source/ui/docshell/docshell.cxx
+++ b/sd/source/ui/docshell/docshell.cxx
@@ -205,7 +205,7 @@ DrawDocShell::~DrawDocShell()
// Tell all listeners that the doc shell is about to be
// destroyed. This has been introduced for the PreviewRenderer to
// free its view (that uses the item poll of the doc shell) but
- // may be usefull in other places as well.
+ // may be useful in other places as well.
Broadcast(SfxSimpleHint(SFX_HINT_DYING));
mbInDestruction = sal_True;
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 5ab7bc0e6782..f669db265a82 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -816,7 +816,7 @@ SdrEndTextEditKind View::SdrEndTextEdit(sal_Bool bDontDeleteReally )
// --------------------------------------------------------------------
/** restores the default text if the given text object is currently in edit mode and
- no text has been entered already. Is only usefull just before text edit ends. */
+ no text has been entered already. Is only useful just before text edit ends. */
bool View::RestoreDefaultText( SdrTextObj* pTextObj )
{
bool bRestored = false;
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 786d4bafea5b..e5fc5805b941 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -996,7 +996,7 @@ void ViewShell::UpdatePreview (SdPage*, sal_Bool )
{
// Do nothing. After the actual preview has been removed,
// OutlineViewShell::UpdatePreview() is the place where something
- // usefull is still done.
+ // useful is still done.
}
::svl::IUndoManager* ViewShell::ImpGetUndoManager (void) const
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 1c07078f5976..aaee060eea62 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -692,7 +692,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
rReq.AppendItem( SfxBoolItem( SID_TEMPLATE, sal_False ) );
// This helper wraps an existing (or may new created InteractionHandler)
- // intercept all incoming interactions and provide usefull informations
+ // intercept all incoming interactions and provide useful informations
// later if the following transaction was finished.
::framework::PreventDuplicateInteraction* pHandler = new ::framework::PreventDuplicateInteraction(::comphelper::getProcessServiceFactory());
diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx
index ae60bf562088..e3ec63e95d3d 100644
--- a/sfx2/source/menu/mnuitem.cxx
+++ b/sfx2/source/menu/mnuitem.cxx
@@ -134,7 +134,7 @@ SfxMenuControl::SfxMenuControl(sal_uInt16 nSlotId, SfxBindings& rBindings):
{
// This constructor should make it possible already during the design
// to fall back to the bindings, but can as always be bound later.
- // The usefullness of this is for example if a StatusForwarder should
+ // The usefulness of this is for example if a StatusForwarder should
// be created in the constructor of a derived class.
UnBind();
}
diff --git a/shell/inc/internal/xml_parser.hxx b/shell/inc/internal/xml_parser.hxx
index f10e7e6165ac..d91e8300109b 100644
--- a/shell/inc/internal/xml_parser.hxx
+++ b/shell/inc/internal/xml_parser.hxx
@@ -72,7 +72,7 @@ public:
@param IsFinal
Indicates whether these are the last xml data
of an xml document to parse. For very large
- xml documents it may be usefull to read and
+ xml documents it may be useful to read and
parse the document partially.
@precond XmlData must not be null
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 62c09f196308..4360dcd85bd9 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -743,7 +743,7 @@ sal_Bool UCBStorageStream_Impl::Init()
if( m_bSourceRead && !m_rSource.is() )
{
- // source file contain usefull information and is not opened
+ // source file contain useful information and is not opened
// open it from the point of noncopied data
try
@@ -2663,7 +2663,7 @@ sal_Bool UCBStorage::CopyTo( const String& rElemName, BaseStorage* pDest, const
}
else
{
- // for copying no optimization is usefull, because in every case the stream data must be copied
+ // for copying no optimization is useful, because in every case the stream data must be copied
UCBStorageElement_Impl* pElement = FindElement_Impl( rElemName );
if ( pElement )
return CopyStorageElement_Impl( *pElement, pDest, rNew );
diff --git a/svtools/inc/svtools/contextmenuhelper.hxx b/svtools/inc/svtools/contextmenuhelper.hxx
index 814804af7db3..e0e1f0d3a90f 100644
--- a/svtools/inc/svtools/contextmenuhelper.hxx
+++ b/svtools/inc/svtools/contextmenuhelper.hxx
@@ -88,7 +88,7 @@ class SVT_DLLPUBLIC ContextMenuHelper
bool associateUIConfigurationManagers();
// resets associations to create associations again on-demand.
- // Usefull for implementations which recycle frames. Normal
+ // Useful for implementations which recycle frames. Normal
// implementations can profit from caching and should set
// auto refresh on ctor to false (default).
void resetAssociations()
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index c0c93a1d3c14..dc43a3d01986 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -310,7 +310,7 @@ void SvtMatchContext_Impl::ReadFolder( const String& rURL,
// for pure home paths ( ~username ) the '.' at the end of rMatch
// means that it poits to root catalog
- // this is done only for file contents since home paths parsing is usefull only for them
+ // this is done only for file contents since home paths parsing is useful only for them
if ( bPureHomePath && rMatch.Equals( rtl::OUString("file:///.") ) )
{
// a home that refers to /
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index bec7c75f009f..37fd1e1cf554 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1731,7 +1731,7 @@ void ViewShell::Paint(const Rectangle &rRect)
if ( IsPreView() )
{
- //When usefull, process or destroy the old InvalidRect.
+ //When useful, process or destroy the old InvalidRect.
if ( aRect.IsInside( aInvalidRect ) )
ResetInvalidRect();
ViewShell::bLstAct = sal_True;
@@ -1752,7 +1752,7 @@ void ViewShell::Paint(const Rectangle &rRect)
// <--
PaintDesktop( aRect );
- //When usefull, process or destroy the old InvalidRect.
+ //When useful, process or destroy the old InvalidRect.
if ( aRect.IsInside( aInvalidRect ) )
ResetInvalidRect();
ViewShell::bLstAct = sal_True;
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 0587490cc8b8..066f4aa919be 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -3937,7 +3937,7 @@ bool INetURLObject::operator ==(INetURLObject const & rObject) const
{
// If the URL paths of two file URLs only differ in that one has a
// final '/' and the other has not, take the two paths as
- // equivalent (this could be usefull for other schemes, too):
+ // equivalent (this could be useful for other schemes, too):
sal_Int32 nLength = aPath1.getLength();
switch (nLength - aPath2.getLength())
{
diff --git a/ucbhelper/inc/ucbhelper/content.hxx b/ucbhelper/inc/ucbhelper/content.hxx
index 16b186c37427..3cdee465bda0 100644
--- a/ucbhelper/inc/ucbhelper/content.hxx
+++ b/ucbhelper/inc/ucbhelper/content.hxx
@@ -191,7 +191,7 @@ public:
/**
* This method provides access to the "native" UCB content interface(s).
- * This is usefull in case the convenience methods provided by this
+ * This is useful in case the convenience methods provided by this
* class are insufficient for your needs. You may obtain all interfaces
* supported by the underlying UCB content by calling this method and
* after that doing a queryInterface call.
diff --git a/unixODBC/inc/sqltypes.h b/unixODBC/inc/sqltypes.h
index a59c089371b7..1b0f9d590555 100644
--- a/unixODBC/inc/sqltypes.h
+++ b/unixODBC/inc/sqltypes.h
@@ -10,7 +10,7 @@
* You can include this file directly but it is almost always
* included indirectly, by including.. for example sqlext.h
*
- * This include makes no effort to be usefull on any platforms other
+ * This include makes no effort to be useful on any platforms other
* than Linux (with some exceptions for UNIX in general).
*
* !!!DO NOT CONTAMINATE THIS FILE WITH NON-Linux CODE!!!
diff --git a/unotools/source/config/viewoptions.cxx b/unotools/source/config/viewoptions.cxx
index 27e864c9fdb8..9d77f4ec061c 100644
--- a/unotools/source/config/viewoptions.cxx
+++ b/unotools/source/config/viewoptions.cxx
@@ -88,7 +88,7 @@ sal_Int32 SvtViewOptions::m_nRefCount_Windows = 0
/*-************************************************************************************************************//**
@descr declare one configuration item
These struct hold information about one view item. But not all member are used for all entries!
- User must decide which information are usefull and which not. We are a container iztem only and doesnt
+ User must decide which information are useful and which not. We are a container iztem only and doesnt
know anything about the context.
But; we support a feature:
decision between items with default values (should not realy exist in configuration!)
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx
index 6d8da7080538..40ac1ac575a8 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -156,7 +156,7 @@ void PDFWriterImpl::implWriteBitmapEx( const Point& i_rPoint, const Size& i_rSiz
if ( bUseJPGCompression )
{
sal_uInt32 nZippedFileSize; // sj: we will calculate the filesize of a zipped bitmap
- { // to determine if jpeg compression is usefull
+ { // to determine if jpeg compression is useful
SvMemoryStream aTemp;
aTemp.SetCompressMode( aTemp.GetCompressMode() | COMPRESSMODE_ZBITMAP );
aTemp.SetVersion( SOFFICE_FILEFORMAT_40 ); // sj: up from version 40 our bitmap stream operator
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 64974dc9a30b..1b286440357b 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -3634,7 +3634,7 @@ sal_uInt16 PopupMenu::ImplExecute( Window* pW, const Rectangle& rRect, sal_uLong
nPopupModeFlags |= FLOATWIN_POPUPMODE_NOKEYCLOSE;
- // could be usefull during debugging.
+ // could be useful during debugging.
// nPopupModeFlags |= FLOATWIN_POPUPMODE_NOFOCUSCLOSE;
ImplDelData aDelData;
diff --git a/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx b/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx
index 03ef04831e89..4e06d45d75e0 100644
--- a/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx
+++ b/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx
@@ -177,7 +177,7 @@ public:
// MT: ??? I think only for adding/removing, not for new signatures...
// MM: Yes, but if you want to insert a new signature into an existing signature file, those function
- // will be very usefull, see Mission 3 in the new "multisigdemo" program :-)
+ // will be very useful, see Mission 3 in the new "multisigdemo" program :-)
::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XWriter> CreateDocumentHandlerWithHeader( const com::sun::star::uno::Reference< com::sun::star::io::XOutputStream >& xOutputStream );
void CloseDocumentHandler( const ::com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler>& xDocumentHandler );
void ExportSignature( const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler >& xDocumentHandler, const SignatureInformation& signatureInfo );