summaryrefslogtreecommitdiff
path: root/framework/source/jobs
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-07-31 10:21:14 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-07-31 11:30:58 +0200
commit1de9dc5ff788105a6de7988e5ed5cbad84e807b7 (patch)
treea9dd32f26922b9acb12a77e7098c7ff773aa3a93 /framework/source/jobs
parenta43b79f6f9d16d52cdd30b990169160573e5de17 (diff)
Fix typos
Change-Id: If8897807f065a342ef0e7f923199660079a70d22 Reviewed-on: https://gerrit.libreoffice.org/58123 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'framework/source/jobs')
-rw-r--r--framework/source/jobs/job.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx
index 047bb7170004..3082526bfb71 100644
--- a/framework/source/jobs/job.cxx
+++ b/framework/source/jobs/job.cxx
@@ -229,9 +229,9 @@ void Job::execute( /*IN*/ const css::uno::Sequence< css::beans::NamedValue >& lD
if (m_eRunState == E_RUNNING)
m_eRunState = E_STOPPED_OR_FINISHED;
- // If we got a close request from our frame or model ...
+ // If we got a close request from our frame or model...
// but we disagreed wit that by throwing a veto exception...
- // and got the ownership ...
+ // and got the ownership...
// we have to close the resource frame or model now -
// and to disable ourself!
if (m_bPendingCloseFrame)
@@ -686,8 +686,8 @@ void SAL_CALL Job::queryTermination( /*IN*/ const css::lang::EventObject& )
@short inform us about office termination
@descr Instead of the method queryTermination(), here is no chance to disagree with that.
We have to accept it and cancel all current processes inside.
- It can occur only, if job was not already started if queryTermination() was called here ..
- Then we had not throwed a veto exception. But now we must agree with this situation and break
+ It can occur only, if job was not already started if queryTermination() was called here.
+ Then we had not thrown a veto exception. But now we must agree with this situation and break
all our internal processes. It's not a good idea to mark this instance as non startable any longer
inside queryTermination() if no job was running too. Because that would disable this job and may
the office does not really shutdown, because another listener has thrown the suitable exception.