Fix typos
Change-Id: If8897807f065a342ef0e7f923199660079a70d22 Reviewed-on: https://gerrit.libreoffice.org/58123 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
This commit is contained in:
committed by
Julien Nabet
parent
a43b79f6f9
commit
1de9dc5ff7
@@ -153,7 +153,7 @@ class Desktop : private cppu::BaseMutex,
|
||||
@seealso XTerminateListener
|
||||
@seealso XTerminateListener2
|
||||
|
||||
@return true if all open frames could be closed and no listener throwed
|
||||
@return true if all open frames could be closed and no listener threw
|
||||
a veto exception; false otherwise.
|
||||
|
||||
@onerror False will be returned.
|
||||
@@ -318,7 +318,7 @@ class Desktop : private cppu::BaseMutex,
|
||||
* about cancel this termination request.
|
||||
*
|
||||
* @param [out] bVeto
|
||||
* will be true if at least one listener throwed a veto exception;
|
||||
* will be true if at least one listener threw a veto exception;
|
||||
* false otherwise.
|
||||
*
|
||||
* @see impl_sendCancelTerminationEvent()
|
||||
|
@@ -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.
|
||||
|
@@ -1748,15 +1748,15 @@ bool Desktop::impl_closeFrames(bool bAllowUI)
|
||||
++nNonClosedFrames;
|
||||
|
||||
// Reactivate controller.
|
||||
// It can happen that XController.suspend() returned true ... but a registered close listener
|
||||
// throwed these veto exception. Then the controller has to be reactivated. Otherwise
|
||||
// It can happen that XController.suspend() returned true... but a registered close listener
|
||||
// threw these veto exception. Then the controller has to be reactivated. Otherwise
|
||||
// these document doesn't work any more.
|
||||
if ( bSuspended && xController.is())
|
||||
xController->suspend(false);
|
||||
}
|
||||
|
||||
// If interface XClosable interface exists and was used ...
|
||||
// it's not allowed to use XComponent->dispose() also !
|
||||
// If interface XClosable interface exists and was used...
|
||||
// it's not allowed to use XComponent->dispose() also!
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@@ -1635,7 +1635,7 @@ void SAL_CALL Frame::removeFrameActionListener( const css::uno::Reference< css::
|
||||
@param bDeliverOwnership
|
||||
If parameter is set to <FALSE/> the original caller will be the owner after thrown
|
||||
veto exception and must try to close this frame at later time again. Otherwise the
|
||||
source of throwed exception is the right one. May it will be the frame himself.
|
||||
source of thrown exception is the right one. May it will be the frame himself.
|
||||
|
||||
@throws CloseVetoException
|
||||
if any internal things willn't be closed
|
||||
@@ -3175,7 +3175,7 @@ void Frame::implts_checkSuicide()
|
||||
m_bSelfClose = false;
|
||||
aReadLock.clear();
|
||||
/* } SAFE */
|
||||
// force close and deliver ownership to source of possible throwed veto exception
|
||||
// force close and deliver ownership to source of possible thrown veto exception
|
||||
// Attention: Because this method is not designed to throw such exception we must suppress
|
||||
// it for outside code!
|
||||
try
|
||||
|
@@ -813,7 +813,7 @@ void OUnoObject::CreateMediator(bool _bReverse)
|
||||
{
|
||||
if ( !m_xMediator.is() )
|
||||
{
|
||||
// tdf#118730 Directly do thinigs formerly done in
|
||||
// tdf#118730 Directly do things formerly done in
|
||||
// OUnoObject::impl_setReportComponent_nothrow here
|
||||
if(!m_xReportComponent.is())
|
||||
{
|
||||
@@ -824,7 +824,7 @@ void OUnoObject::CreateMediator(bool _bReverse)
|
||||
impl_initializeModel_nothrow();
|
||||
}
|
||||
|
||||
// tdf#118730 Directly do thinigs formerly done in
|
||||
// tdf#118730 Directly do things formerly done in
|
||||
// OUnoObject::EndCreate here
|
||||
if(m_xReportComponent.is())
|
||||
{
|
||||
|
@@ -2203,7 +2203,7 @@ sal_Int16 UCBStorage_Impl::Commit()
|
||||
catch (const CommandAbortedException&)
|
||||
{
|
||||
// how to tell the content : forget all changes ?!
|
||||
// or should we assume that the content does it by itself because he throwed an exception ?!
|
||||
// or should we assume that the content does it by itself because he threw an exception ?!
|
||||
// any command wasn't executed successfully - not specified
|
||||
SetError( ERRCODE_IO_GENERAL );
|
||||
return COMMIT_RESULT_FAILURE;
|
||||
@@ -2211,7 +2211,7 @@ sal_Int16 UCBStorage_Impl::Commit()
|
||||
catch (const RuntimeException&)
|
||||
{
|
||||
// how to tell the content : forget all changes ?!
|
||||
// or should we assume that the content does it by itself because he throwed an exception ?!
|
||||
// or should we assume that the content does it by itself because he threw an exception ?!
|
||||
// any other error - not specified
|
||||
SetError( ERRCODE_IO_GENERAL );
|
||||
return COMMIT_RESULT_FAILURE;
|
||||
@@ -2234,7 +2234,7 @@ sal_Int16 UCBStorage_Impl::Commit()
|
||||
catch (const Exception&)
|
||||
{
|
||||
// how to tell the content : forget all changes ?!
|
||||
// or should we assume that the content does it by itself because he throwed an exception ?!
|
||||
// or should we assume that the content does it by itself because he threw an exception ?!
|
||||
// any other error - not specified
|
||||
SetError( ERRCODE_IO_GENERAL );
|
||||
return COMMIT_RESULT_FAILURE;
|
||||
|
@@ -1083,7 +1083,7 @@ void DocxExport::WriteSettings()
|
||||
pAttributeList->add(FSNS(XML_w, nToken), rAttributeList[j].Value.get<OUString>().toUtf8());
|
||||
}
|
||||
|
||||
// we have document protection from from input DOCX file
|
||||
// we have document protection from input DOCX file
|
||||
|
||||
sax_fastparser::XFastAttributeListRef xAttributeList(pAttributeList);
|
||||
pFS->singleElementNS(XML_w, XML_documentProtection, xAttributeList);
|
||||
|
Reference in New Issue
Block a user