Kaydet (Commit) a452643b authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: I2b4988e1d81fe60f7699362480cd739d2620c053
Reviewed-on: https://gerrit.libreoffice.org/47856Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst cfffb09b
......@@ -26,7 +26,7 @@
#include <vector>
// helper class, only useable by OFilterContainer
// helper class, only usable by OFilterContainer
class CFilterContainer
......
......@@ -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;
......
......@@ -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
......
......@@ -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.
}
......
......@@ -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;
......
......@@ -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() )
{
......
......@@ -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
{
......
......@@ -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();
......
......@@ -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:
......
......@@ -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!
*/
......
......@@ -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 )
......
......@@ -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
{
......
......@@ -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{
......
......@@ -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
......
......@@ -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,
......
......@@ -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
......
......@@ -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 .-)
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment