summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-11-13 00:20:20 +0100
committerMark Page <aptitude@btconnect.com>2017-11-13 08:43:17 +0100
commitd71bcc4dc5025ea24944454908098269cfd095a3 (patch)
tree4e0e21223c2b7fc157b840d2c717eb1dd1ba7942 /framework
parent930efab3be7dd818918b7116119bb049acdcda76 (diff)
Fix typos
Change-Id: Ia544298334364ece3b3963a4adc00c5e01189b91 Reviewed-on: https://gerrit.libreoffice.org/44654 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/dispatch/closedispatcher.hxx2
-rw-r--r--framework/inc/helper/ocomponentaccess.hxx2
-rw-r--r--framework/inc/jobs/job.hxx2
-rw-r--r--framework/inc/jobs/shelljob.hxx4
-rw-r--r--framework/inc/services/desktop.hxx6
-rw-r--r--framework/inc/threadhelp/transactionbase.hxx2
-rw-r--r--framework/source/classes/taskcreator.cxx2
-rw-r--r--framework/source/dispatch/dispatchprovider.cxx8
-rw-r--r--framework/source/inc/accelerators/presethandler.hxx4
-rw-r--r--framework/source/inc/loadenv/loadenv.hxx4
-rw-r--r--framework/source/jobs/joburl.cxx6
-rw-r--r--framework/source/jobs/shelljob.cxx2
-rw-r--r--framework/source/services/autorecovery.cxx4
-rw-r--r--framework/source/services/frame.cxx4
14 files changed, 26 insertions, 26 deletions
diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx
index 8cbda9de0a7e..ff340e981aea 100644
--- a/framework/inc/dispatch/closedispatcher.hxx
+++ b/framework/inc/dispatch/closedispatcher.hxx
@@ -162,7 +162,7 @@ class CloseDispatcher : public ::cppu::WeakImplHelper<
/** @short prepare m_xCloseFrame so it should be closeable without problems.
- @descr Thats needed to be sure, that the document can't disagree
+ @descr That's needed to be sure, that the document can't disagree
later with e.g. an office termination.
The problem: Closing of documents can show UI. If the user
ignores it and open/close other documents, we can't know
diff --git a/framework/inc/helper/ocomponentaccess.hxx b/framework/inc/helper/ocomponentaccess.hxx
index dc8afa0c1774..60b33b2d3013 100644
--- a/framework/inc/helper/ocomponentaccess.hxx
+++ b/framework/inc/helper/ocomponentaccess.hxx
@@ -120,7 +120,7 @@ class OComponentAccess : public ::cppu::WeakImplHelper< css::container::XEnum
@descr This method destruct an instance of this class and clear some member.
Don't use an instance of this class as normal member. Use it dynamicly with a pointer.
We hold a weakreference to our owner and not to our superclass!
- Thats the reason for a protected dtor.
+ That's the reason for a protected dtor.
@seealso class Desktop
*//*-*****************************************************************************************************/
diff --git a/framework/inc/jobs/job.hxx b/framework/inc/jobs/job.hxx
index 8481064bb9a8..d3a8707a0f11 100644
--- a/framework/inc/jobs/job.hxx
+++ b/framework/inc/jobs/job.hxx
@@ -137,7 +137,7 @@ class Job : public ::cppu::WeakImplHelper<
/**
Holds the state, if we are listen for desktop/frame or model closing events or not.
The used references are not really enough to detect a valid listener connection.
- Thats why we use this additional information here too.
+ That's why we use this additional information here too.
*/
bool m_bListenOnDesktop;
bool m_bListenOnFrame;
diff --git a/framework/inc/jobs/shelljob.hxx b/framework/inc/jobs/shelljob.hxx
index 0ad5e938a639..921ce93fd3f9 100644
--- a/framework/inc/jobs/shelljob.hxx
+++ b/framework/inc/jobs/shelljob.hxx
@@ -117,8 +117,8 @@ class ShellJob : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,css::tas
@param bCheckExitCode
bind the execution result to the exit code of the started process.
- If it's set to false we return false only in case executable couldnt be found
- or couldnt be started.
+ If it's set to false we return false only in case executable couldn't be found
+ or couldn't be started.
@return sal_True if command was executed successfully; sal_False otherwise.
*/
diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx
index bdcd42271de2..58a8be553c8a 100644
--- a/framework/inc/services/desktop.hxx
+++ b/framework/inc/services/desktop.hxx
@@ -189,8 +189,8 @@ class Desktop : private cppu::BaseMutex,
@descr Additional to removing normal listener these method was implemented special.
Every listener will be asked for its uno implementation name.
- Some of them are well known ... and the corresponding listener was set as special member.
- Now those special member will be reseted also.
+ Some of them are well known... and the corresponding listener was set as special member.
+ Now those special member will be reset also.
see e.g. member m_xSfxTerminator
@seealso terminate()
@@ -413,7 +413,7 @@ class Desktop : private cppu::BaseMutex,
/** special terminate listener shown inside system tray (quick starter)
* Will hinder the office on shutdown ... but wish to allow closing
- * of open documents. And because thats different to a normal terminate listener
+ * of open documents. And because that's different to a normal terminate listener
* it has to be handled special .-)
*/
css::uno::Reference< css::frame::XTerminateListener > m_xQuickLauncher;
diff --git a/framework/inc/threadhelp/transactionbase.hxx b/framework/inc/threadhelp/transactionbase.hxx
index 71e4195dedd4..236a0c7c04e6 100644
--- a/framework/inc/threadhelp/transactionbase.hxx
+++ b/framework/inc/threadhelp/transactionbase.hxx
@@ -29,7 +29,7 @@ namespace framework{
@descr If you use a transaction manager as a member of your class and wish to use it earlier then other ones
you should have a look on this implementation. You must use it as the first base class
of your implementation - because base classes are initialized by his order and before your
- member! Thats why is a good place to declare this member.
+ member! That's why is a good place to declare this member.
@devstatus ready to use
*//*-*************************************************************************************************************/
struct TransactionBase
diff --git a/framework/source/classes/taskcreator.cxx b/framework/source/classes/taskcreator.cxx
index b91599d05e95..612ab433e7e3 100644
--- a/framework/source/classes/taskcreator.cxx
+++ b/framework/source/classes/taskcreator.cxx
@@ -80,7 +80,7 @@ css::uno::Reference< css::frame::XFrame > TaskCreator::createTask( const OUStrin
{}
// no catch here ... without an task creator service we can't open ANY document window within the office.
- // Thats IMHO not a good idea. Then we should accept the stacktrace showing us the real problem.
+ // That's IMHO not a good idea. Then we should accept the stacktrace showing us the real problem.
// BTW: The used fallback creator service (IMPLEMENTATIONNAME_FWK_TASKCREATOR) is implemented in the same
// library then these class here ... Why we should not be able to create it ?
if ( ! xCreator.is())
diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx
index fcde3010edee..d0ccf5082b24 100644
--- a/framework/source/dispatch/dispatchprovider.cxx
+++ b/framework/source/dispatch/dispatchprovider.cxx
@@ -175,7 +175,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryDeskt
// It's not the right place to create a new task here - because we are queried for a dispatch object
// only, which can handle such request. Such dispatcher should create the required task on demand.
// Normally the functionality for "_blank" is provided by findFrame() - but that would create it directly
- // here. Thats why we must "intercept" here.
+ // here. that's why we must "intercept" here.
if (sTargetFrameName==SPECIALTARGET_BLANK)
{
@@ -250,7 +250,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame
// I.I) "_blank", "_default"
// It's not the right place to create a new task here. Only the desktop can do that.
// Normally the functionality for "_blank" is provided by findFrame() - but that would create it directly
- // here. Thats why we must "intercept" here.
+ // here. that's why we must "intercept" here.
if (
(sTargetFrameName==SPECIALTARGET_BLANK ) ||
@@ -490,8 +490,8 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_searchProt
@short get or create new dispatch helper
@descr Sometimes we need some helper implementations to support dispatching of special URLs or commands.
But it's not a good idea to hold these services for the whole life time of this provider instance.
- We should create it on demand ...
- Thats why we implement this method. It return an already existing helper or create a new one otherwise.
+ We should create it on demand...
+ That's why we implement this method. It return an already existing helper or create a new one otherwise.
@attention The parameter sTarget and nSearchFlags are defaulted to "" and 0!
Please use it only, if you can be sure, that the really given by the outside calli!
diff --git a/framework/source/inc/accelerators/presethandler.hxx b/framework/source/inc/accelerators/presethandler.hxx
index 115a3f8e7191..f9d3ff25b54b 100644
--- a/framework/source/inc/accelerators/presethandler.hxx
+++ b/framework/source/inc/accelerators/presethandler.hxx
@@ -220,7 +220,7 @@ class PresetHandler
@param xDocumentRoot
if sResourceType is set to E_DOCUMENT, this value points to the
root storage inside the document, where we can save our
- configuration files. Note: Thats not the real root of the document ...
+ configuration files. Note: that's not the real root of the document...
its only a sub storage. But we interpret it as our root storage.
@param rLanguageTag
@@ -294,7 +294,7 @@ class PresetHandler
the ALIAS name of the target.
@return The opened target stream ... or NULL if the target does not exists
- or couldnt be created as new one.
+ or couldn't be created as new one.
*/
css::uno::Reference< css::io::XStream > openTarget(
const OUString& sTarget, sal_Int32 nMode);
diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx
index 277f75a7779a..87743974ae51 100644
--- a/framework/source/inc/loadenv/loadenv.hxx
+++ b/framework/source/inc/loadenv/loadenv.hxx
@@ -276,7 +276,7 @@ public:
of a "non visible component" only an information about a successfully start
can be provided.
Further it can't be guaranteed, that the internal process runs synchronous.
- Thats why we preferr using of specialized methods afterwards e.g. to:
+ that's why we prefer using of specialized methods afterwards e.g. to:
- wait till the internal job will be finished
and get the results
- or to let it run without any further control from outside.
@@ -478,7 +478,7 @@ private:
<li>and(!) this target must not be already used by any other load request.</li>
</ul>
- If a suitable target is located it will be locked. Thats why the last rule
+ 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
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
diff --git a/framework/source/jobs/joburl.cxx b/framework/source/jobs/joburl.cxx
index 95b67e040c3c..bdf4580b709f 100644
--- a/framework/source/jobs/joburl.cxx
+++ b/framework/source/jobs/joburl.cxx
@@ -112,7 +112,7 @@ bool JobURL::isValid() const
@short get the event item of this job URL
@descr Because the three possible parts of such URL (event, alias, service)
can't be combined, this method can(!) return a valid value - but it's
- not a must. Thats why the return value must be used too, to detect a missing
+ not a must. That's why the return value must be used too, to detect a missing
event value.
@param sEvent
@@ -140,7 +140,7 @@ bool JobURL::getEvent( /*OUT*/ OUString& sEvent ) const
@short get the alias item of this job URL
@descr Because the three possible parts of such URL (event, alias, service)
can't be combined, this method can(!) return a valid value - but it's
- not a must. Thats why the return value must be used too, to detect a missing
+ not a must. that's why the return value must be used too, to detect a missing
alias value.
@param sAlias
@@ -168,7 +168,7 @@ bool JobURL::getAlias( /*OUT*/ OUString& sAlias ) const
@short get the service item of this job URL
@descr Because the three possible parts of such URL (event, service, service)
can't be combined, this method can(!) return a valid value - but it's
- not a must. Thats why the return value must be used too, to detect a missing
+ not a must. That's why the return value must be used too, to detect a missing
service value.
@param sAlias
diff --git a/framework/source/jobs/shelljob.cxx b/framework/source/jobs/shelljob.cxx
index 469a6c55cc18..9d74cf9bbc3a 100644
--- a/framework/source/jobs/shelljob.cxx
+++ b/framework/source/jobs/shelljob.cxx
@@ -134,7 +134,7 @@ bool ShellJob::impl_execute(const OUString& sCommand
oslProcessError eError = osl_executeProcess(sCommand.pData, pArgs, nArgs, osl_Process_WAIT, nullptr, nullptr, nullptr, 0, &hProcess);
- // executable not found or couldnt be started
+ // executable not found or couldn't be started
if (eError != osl_Process_E_None)
return false;
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 7cc7bbde8c2d..ac684cf9969a 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -213,7 +213,7 @@ public:
/** @short indicates the results of a FAILURE_SAFE operation
@descr We must know, which reason was the real one in case
- we couldnt copy a "failure document" to a user specified path.
+ we couldn't copy a "failure document" to a user specified path.
We must know, if we can forget our cache entry or not.
*/
enum EFailureSafeResult
@@ -3009,7 +3009,7 @@ void AutoRecovery::implts_saveOneDoc(const OUString&
const css::uno::Reference< css::task::XStatusIndicator >& xExternalProgress)
{
// no document? => can occur if we loaded our configuration with files,
- // which couldnt be recovered successfully. In such case we have all needed information
+ // which couldn't be recovered successfully. In such case we have all needed information
// excepting the real document instance!
// TODO: search right place, where such "dead files" can be removed from the configuration!
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 93aa48f98431..5998d7902ccb 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -1257,7 +1257,7 @@ void SAL_CALL Frame::activate()
}
// Its necessary to send event NOW - not before.
// Activation goes from bottom to top!
- // Thats the reason to activate parent first and send event now.
+ // That's the reason to activate parent first and send event now.
implts_sendFrameActionEvent( css::frame::FrameAction_FRAME_ACTIVATED );
}
@@ -1416,7 +1416,7 @@ sal_Bool SAL_CALL Frame::setComponent(const css::uno::Reference< css::awt::XWind
{
// Ignore this HACK of sfx2!
- // He call us with an valid controller without a valid window ... Thats not allowed!
+ // He call us with an valid controller without a valid window... that's not allowed!
if ( xController.is() && ! xComponentWindow.is() )
return true;