summaryrefslogtreecommitdiff
path: root/framework/source
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/source
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/source')
-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
8 files changed, 17 insertions, 17 deletions
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;