summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-14 12:42:46 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-14 16:31:26 +0100
commita452643b431803b613919871abf1a81de6de3464 (patch)
tree742b35a02a320f584357b80eb956ea0c94a03e7a
parentcfffb09b3d6d46c500e3be3fe601a4ff6944d40e (diff)
Fix typos
Change-Id: I2b4988e1d81fe60f7699362480cd739d2620c053 Reviewed-on: https://gerrit.libreoffice.org/47856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--fpicker/source/win32/filepicker/FilterContainer.hxx2
-rw-r--r--framework/source/dispatch/loaddispatcher.cxx4
-rw-r--r--framework/source/inc/loadenv/loadenv.hxx10
-rw-r--r--framework/source/jobs/job.cxx10
-rw-r--r--framework/source/services/substitutepathvars.cxx2
-rw-r--r--framework/source/uielement/addonstoolbarmanager.cxx2
-rw-r--r--include/framework/framelistanalyzer.hxx2
-rw-r--r--include/osl/pipe_decl.hxx2
-rw-r--r--include/ucbhelper/interceptedinteraction.hxx2
-rw-r--r--include/unotools/mediadescriptor.hxx2
-rw-r--r--jurt/com/sun/star/comp/loader/FactoryHelper.java4
-rw-r--r--libreofficekit/qa/unit/tiledrendering.cxx2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java4
-rw-r--r--sfx2/source/doc/printhelper.cxx4
-rw-r--r--svx/source/inc/docrecovery.hxx2
-rw-r--r--vcl/unx/generic/app/i18n_ic.cxx2
-rw-r--r--wizards/com/sun/star/wizards/document/OfficeDocument.java2
-rw-r--r--wizards/com/sun/star/wizards/document/OfficeDocument.py2
18 files changed, 30 insertions, 30 deletions
diff --git a/fpicker/source/win32/filepicker/FilterContainer.hxx b/fpicker/source/win32/filepicker/FilterContainer.hxx
index ffbe327f6463..89c3987aca45 100644
--- a/fpicker/source/win32/filepicker/FilterContainer.hxx
+++ b/fpicker/source/win32/filepicker/FilterContainer.hxx
@@ -26,7 +26,7 @@
#include <vector>
-// helper class, only useable by OFilterContainer
+// helper class, only usable by OFilterContainer
class CFilterContainer
diff --git a/framework/source/dispatch/loaddispatcher.cxx b/framework/source/dispatch/loaddispatcher.cxx
index 81141c347aae..5d1b7346fade 100644
--- a/framework/source/dispatch/loaddispatcher.cxx
+++ b/framework/source/dispatch/loaddispatcher.cxx
@@ -82,7 +82,7 @@ css::uno::Any LoadDispatcher::impl_dispatch( const css::util::URL& rURL,
// may a dispatch request before is still in progress (?!).
// Then we should wait a little bit and block this new request.
// In case we run into the timeout, we should reject this new request
- // and return "FAILED" as result. Otherwhise we can start this new operation.
+ // and return "FAILED" as result. Otherwise we can start this new operation.
if (!m_aLoader.waitWhileLoading(2000)) // => 2 sec.
{
if (xListener.is())
@@ -98,7 +98,7 @@ css::uno::Any LoadDispatcher::impl_dispatch( const css::util::URL& rURL,
css::frame::DispatchResultEvent(xThis, css::frame::DispatchResultState::FAILURE, css::uno::Any()));
}
- // OK ... now the internal loader seems to be useable for new requests
+ // OK ... now the internal loader seems to be usable for new requests
// and our owner frame seems to be valid for such operations.
// Initialize it with all new but needed properties and start the loading.
css::uno::Reference< css::lang::XComponent > xComponent;
diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx
index 87743974ae51..ca8999f889a9 100644
--- a/framework/source/inc/loadenv/loadenv.hxx
+++ b/framework/source/inc/loadenv/loadenv.hxx
@@ -369,7 +369,7 @@ public:
close the frame if it was created before in case loading failed.
@throw A LoadEnvException only in cases, where an internal error indicates,
- that the complete load environment seems to be not useable in general.
+ that the complete load environment seems to be not usable in general.
In such cases a RuntimeException would be to hard for the outside code :-)
@throw A RuntimeException in case any internal process indicates, that
@@ -454,7 +454,7 @@ private:
and could be activated successfully. An empty reference otherwise.
@throw A LoadEnvException only in cases, where an internal error indicates,
- that the complete load environment seems to be not useable in general.
+ that the complete load environment seems to be not usable in general.
In such cases a RuntimeException would be to hard for the outside code :-)
@throw A RuntimeException in case any internal process indicates, that
@@ -462,7 +462,7 @@ private:
*/
css::uno::Reference< css::frame::XFrame > impl_searchAlreadyLoaded();
- /** @short search for any target frame, which seems to be useable
+ /** @short search for any target frame, which seems to be usable
for this load request.
@descr Because this special feature is bound to the target specifier "_default"
@@ -479,12 +479,12 @@ private:
</ul>
If a suitable target is located it will be locked. That's why the last rule
- exists! If this method returns a valid frame reference, it was locked to be useable
+ exists! If this method returns a valid frame reference, it was locked to be usable
for this load request only. (Don't forget to reset this state later!)
Concurrent LoadEnv instances can synchronize her work be using such locks :-) HOPEFULLY
@throw A LoadEnvException only in cases, where an internal error indicates,
- that the complete load environment seems to be not useable in general.
+ that the complete load environment seems to be not usable in general.
In such cases a RuntimeException would be to hard for the outside code :-)
@throw A RuntimeException in case any internal process indicates, that
diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx
index a0488bc45aae..e0df5442e5af 100644
--- a/framework/source/jobs/job.cxx
+++ b/framework/source/jobs/job.cxx
@@ -94,7 +94,7 @@ Job::Job( /*IN*/ const css::uno::Reference< css::uno::XComponentContext >& xCont
/**
@short superfluous!
@descr Releasing of memory and reference must be done inside die() call.
- Otherwhise it's a bug.
+ Otherwise it's a bug.
*/
Job::~Job()
{
@@ -175,7 +175,7 @@ void Job::execute( /*IN*/ const css::uno::Sequence< css::beans::NamedValue >& lD
css::uno::Sequence< css::beans::NamedValue > lJobArgs = impl_generateJobArgs(lDynamicArgs);
// It's necessary to hold us self alive!
- // Otherwhise we might die by ref count ...
+ // Otherwise we might die by ref count ...
css::uno::Reference< css::task::XJobListener > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
try
@@ -274,7 +274,7 @@ void Job::execute( /*IN*/ const css::uno::Sequence< css::beans::NamedValue >& lD
@descr It doesn't matter if this request is called from inside or
from outside. We release our internal structures and stop
every activity. After doing so - this instance will not be
- useable any longer! Of course we try to handle further requests
+ usable any longer! Of course we try to handle further requests
carefully. Maybe someone else holds a reference to us ...
*/
void Job::die()
@@ -663,7 +663,7 @@ void SAL_CALL Job::queryTermination( /*IN*/ const css::lang::EventObject& )
{
SolarMutexGuard g;
- // Otherwhise try to close() it
+ // Otherwise try to close() it
css::uno::Reference< css::util::XCloseable > xClose(m_xJob, css::uno::UNO_QUERY);
if (xClose.is())
{
@@ -775,7 +775,7 @@ void SAL_CALL Job::queryClosing( const css::lang::EventObject& aEvent ,
// No veto ...
// But don't call die() here or free our internal member.
- // This must be done inside notifyClosing() only. Otherwhise the
+ // This must be done inside notifyClosing() only. Otherwise the
// might stopped job has no chance to return its results or
// call us back. We must give him the chance to finish it's work successfully.
}
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index b41660242210..6a074d471a29 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -247,7 +247,7 @@ OUString SubstitutePathVariables::GetWorkPath() const
OUString aWorkPath;
css::uno::Reference< css::container::XHierarchicalNameAccess > xPaths(officecfg::Office::Paths::Paths::get(m_xContext), css::uno::UNO_QUERY_THROW);
if (!(xPaths->getByHierarchicalName("['Work']/WritePath") >>= aWorkPath))
- // fallback in case config layer does not return an useable work dir value.
+ // fallback in case config layer does not return an usable work dir value.
aWorkPath = GetWorkVariableValue();
return aWorkPath;
diff --git a/framework/source/uielement/addonstoolbarmanager.cxx b/framework/source/uielement/addonstoolbarmanager.cxx
index 14ea5039035e..664e7798eb23 100644
--- a/framework/source/uielement/addonstoolbarmanager.cxx
+++ b/framework/source/uielement/addonstoolbarmanager.cxx
@@ -350,7 +350,7 @@ void AddonsToolBarManager::FillToolbar( const Sequence< Sequence< PropertyValue
}
}
- // Notify controller implementation to its listeners. Controller is now useable from outside.
+ // Notify controller implementation to its listeners. Controller is now usable from outside.
Reference< XUpdatable > xUpdatable( xController, UNO_QUERY );
if ( xUpdatable.is() )
{
diff --git a/include/framework/framelistanalyzer.hxx b/include/framework/framelistanalyzer.hxx
index ce44de67207f..8112beccf49d 100644
--- a/include/framework/framelistanalyzer.hxx
+++ b/include/framework/framelistanalyzer.hxx
@@ -29,7 +29,7 @@
/** These enums can be combined as flags to enable/disable
special search algorithm during analyze phase.
see impl_analyze() for further information.
- But note: To be useable as flags, these enums
+ But note: To be usable as flags, these enums
must be values of range [2^n]! */
enum class FrameAnalyzerFlags
{
diff --git a/include/osl/pipe_decl.hxx b/include/osl/pipe_decl.hxx
index 88247766a530..81bc4fd81183 100644
--- a/include/osl/pipe_decl.hxx
+++ b/include/osl/pipe_decl.hxx
@@ -37,7 +37,7 @@ protected:
public:
/** Does not create a pipe. Use assignment operator to
- make this a useable pipe.
+ make this a usable pipe.
*/
inline Pipe();
diff --git a/include/ucbhelper/interceptedinteraction.hxx b/include/ucbhelper/interceptedinteraction.hxx
index 8803c358c297..fc34fb1f4d15 100644
--- a/include/ucbhelper/interceptedinteraction.hxx
+++ b/include/ucbhelper/interceptedinteraction.hxx
@@ -176,7 +176,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
const css::uno::Type& aType );
- // useable for derived classes
+ // usable for derived classes
protected:
diff --git a/include/unotools/mediadescriptor.hxx b/include/unotools/mediadescriptor.hxx
index 9b0972b79050..24e8d4678ec0 100644
--- a/include/unotools/mediadescriptor.hxx
+++ b/include/unotools/mediadescriptor.hxx
@@ -42,7 +42,7 @@ namespace utl {
@descr It wraps a unordered_map around the Sequence< css::beans::PropertyValue >, which
represent the MediaDescriptor item.
Further this helper defines often used functions (as e.g. open of the required streams,
- consistent checks etcpp.) and it defines all useable property names.
+ consistent checks etcpp.) and it defines all usable property names.
@attention This class isn't threadsafe and must be guarded from outside!
*/
diff --git a/jurt/com/sun/star/comp/loader/FactoryHelper.java b/jurt/com/sun/star/comp/loader/FactoryHelper.java
index dce8818384db..d6e28435d9b5 100644
--- a/jurt/com/sun/star/comp/loader/FactoryHelper.java
+++ b/jurt/com/sun/star/comp/loader/FactoryHelper.java
@@ -136,8 +136,8 @@ public class FactoryHelper {
}
}
- if(_constructor == null) // have not found a useable constructor
- throw new com.sun.star.uno.RuntimeException(getClass().getName() + " can not find a useable constructor");
+ if(_constructor == null) // have not found a usable constructor
+ throw new com.sun.star.uno.RuntimeException(getClass().getName() + " can not find a usable constructor");
}
private final XMultiServiceFactory getSMgr( XComponentContext xContext )
diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx
index 885bfda09bc4..db968eda2fba 100644
--- a/libreofficekit/qa/unit/tiledrendering.cxx
+++ b/libreofficekit/qa/unit/tiledrendering.cxx
@@ -48,7 +48,7 @@ OUString getFileURLFromSystemPath(OUString const & path)
}
// We specifically don't use the usual BootStrapFixture, as LOK does
-// all it's own setup and bootstrapping, and should be useable in a
+// all it's own setup and bootstrapping, and should be usable in a
// raw C++ program.
class TiledRenderingTest : public ::CppUnit::TestFixture
{
diff --git a/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java b/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java
index d69523d5f973..6ddee8e5e62d 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java
@@ -184,7 +184,7 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
/**
* Method <code>getGroupColumns</code> retunrs a <code>XIndexAccess</code>
- * Test has ok status if returned value is an useable <code>XIndexAccess</code>
+ * Test has ok status if returned value is an usable <code>XIndexAccess</code>
*/
public void _getGroupColumns() {
try{
@@ -268,7 +268,7 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
/**
* Method <code>getGroupColumns</code> retunrs a <code>XIndexAccess</code>
- * Test has ok status if returned value is an useable <code>XIndexAccess</code>
+ * Test has ok status if returned value is an usable <code>XIndexAccess</code>
*/
public void _getOrderColumns() {
try{
diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx
index 296c53da0aa7..0005f2534870 100644
--- a/sfx2/source/doc/printhelper.cxx
+++ b/sfx2/source/doc/printhelper.cxx
@@ -519,7 +519,7 @@ class ImplUCBPrintWatcher : public ::osl::Thread
}
/* static helper to move the temp. file to the target location by using the ucb
- It's static to be useable from outside too. So it's not really necessary to start
+ It's static to be usable from outside too. So it's not really necessary to start
the thread, if finishing of the job was detected outside this thread.
But it must be called without using a corresponding thread for the given parameter!
*/
@@ -634,7 +634,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >&
{
// OK - it's not a valid URL. But may it's a simple
// system path directly. It will be supported for historical
- // reasons. Otherwhise we break to much external code ...
+ // reasons. Otherwise we break to much external code ...
// We try to convert it to a file URL. If its possible
// we put the system path to the item set and let vcl work with it.
// No ucb or thread will be necessary then. In case it couldn't be
diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx
index 5ec8fab16e9c..c74e20cce9db 100644
--- a/svx/source/inc/docrecovery.hxx
+++ b/svx/source/inc/docrecovery.hxx
@@ -86,7 +86,7 @@ enum class EDocStates
/* FINAL STATES */
- /// the Auto/Emergency saved document isn't useable any longer
+ /// the Auto/Emergency saved document isn't usable any longer
Damaged = 0x040,
/// the Auto/Emergency saved document is not really up-to-date (some changes can be missing)
Incomplete = 0x080,
diff --git a/vcl/unx/generic/app/i18n_ic.cxx b/vcl/unx/generic/app/i18n_ic.cxx
index 8cf738c4ab62..64ad7fc190ff 100644
--- a/vcl/unx/generic/app/i18n_ic.cxx
+++ b/vcl/unx/generic/app/i18n_ic.cxx
@@ -558,7 +558,7 @@ SalI18N_InputContext::UpdateSpotLocation()
}
// set and unset the focus for the Input Context
-// the context may be NULL despite it is useable if the framewindow is
+// the context may be NULL despite it is usable if the framewindow is
// in unmapped state
void
diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.java b/wizards/com/sun/star/wizards/document/OfficeDocument.java
index 6a90726dd77c..1868c198915a 100644
--- a/wizards/com/sun/star/wizards/document/OfficeDocument.java
+++ b/wizards/com/sun/star/wizards/document/OfficeDocument.java
@@ -130,7 +130,7 @@ public class OfficeDocument
xFrame = UnoRuntime.queryInterface(XFrame.class, xMSF.createInstance("com.sun.star.frame.Frame"));
xFrame.initialize(xWindow);
- //from now this frame is useable ...
+ //from now this frame is usable ...
//and not part of the desktop tree.
//You are alone with him .-)
diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.py b/wizards/com/sun/star/wizards/document/OfficeDocument.py
index 3886f1eb1c70..ba3b0976bd31 100644
--- a/wizards/com/sun/star/wizards/document/OfficeDocument.py
+++ b/wizards/com/sun/star/wizards/document/OfficeDocument.py
@@ -169,7 +169,7 @@ class OfficeDocument(object):
traceback.print_exc()
xFrame.initialize(xPeer)
- #from now this frame is useable ...
+ #from now this frame is usable ...
#and not part of the desktop tree.
#You are alone with him .-)
if listener is not None: