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

Fix typos

Change-Id: Icf1b10c517d7c575250bc74de03162fbc13c89b1
Reviewed-on: https://gerrit.libreoffice.org/63476
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst d71ea820
......@@ -453,7 +453,7 @@ sal_uInt16 BigPtrArray::Compress()
// Is the current block now empty as a result?
if( !p->nElem )
{
// than remove
// then remove
delete p;
p = nullptr;
++nBlkdel;
......
......@@ -511,7 +511,7 @@ bool SwUndoDelete::SaveContent( const SwPosition* pStt, const SwPosition* pEnd,
: pEndTextNd->CreateUndo();
}
// if there are only two Nodes than we're done
// if there are only two Nodes then we're done
if( ( pSttTextNd || pEndTextNd ) && nSttNode + 1 == nEndNode )
return false; // do not move any Node
......
......@@ -589,8 +589,8 @@ bool SwViewShell::PrintOrPDFExport(
void SwViewShell::PrtOle2( SwDoc *pDoc, const SwViewOption *pOpt, const SwPrintData& rOptions,
vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect )
{
// For printing a shell is needed. Either the Doc already has one, than we
// create a new view, or it has none, than we create the first view.
// For printing a shell is needed. Either the Doc already has one, then we
// create a new view, or it has none, then we create the first view.
std::unique_ptr<SwViewShell> pSh;
if( pDoc->getIDocumentLayoutAccess().GetCurrentViewShell() )
pSh.reset(new SwViewShell( *pDoc->getIDocumentLayoutAccess().GetCurrentViewShell(), nullptr, &rRenderContext,VSHELLFLAG_SHARELAYOUT ));
......
......@@ -120,7 +120,7 @@ void MailDispatcher::enqueueMailMessage(uno::Reference<mail::XMailMessage> const
::osl::MutexGuard thread_status_guard( m_aThreadStatusMutex );
::osl::MutexGuard message_container_guard( m_aMessageContainerMutex );
OSL_PRECOND( !m_bShutdownRequested, "MailDispatcher thread is shuting down already" );
OSL_PRECOND( !m_bShutdownRequested, "MailDispatcher thread is shutting down already" );
m_aXMessageList.push_back( message );
if ( m_bActive )
......@@ -145,7 +145,7 @@ void MailDispatcher::start()
::osl::ClearableMutexGuard thread_status_guard( m_aThreadStatusMutex );
OSL_PRECOND(!m_bShutdownRequested, "MailDispatcher thread is shuting down already");
OSL_PRECOND(!m_bShutdownRequested, "MailDispatcher thread is shutting down already");
if ( !m_bShutdownRequested )
{
......@@ -165,7 +165,7 @@ void MailDispatcher::stop()
::osl::ClearableMutexGuard thread_status_guard( m_aThreadStatusMutex );
OSL_PRECOND(!m_bShutdownRequested, "MailDispatcher thread is shuting down already");
OSL_PRECOND(!m_bShutdownRequested, "MailDispatcher thread is shutting down already");
if (!m_bShutdownRequested)
{
......@@ -183,7 +183,7 @@ void MailDispatcher::shutdown()
{
::osl::MutexGuard thread_status_guard( m_aThreadStatusMutex );
OSL_PRECOND(!m_bShutdownRequested, "MailDispatcher thread is shuting down already");
OSL_PRECOND(!m_bShutdownRequested, "MailDispatcher thread is shutting down already");
m_bShutdownRequested = true;
m_aWakeupCondition.set();
......@@ -192,7 +192,7 @@ void MailDispatcher::shutdown()
void MailDispatcher::addListener(::rtl::Reference<IMailDispatcherListener> const & listener)
{
OSL_PRECOND(!m_bShutdownRequested, "MailDispatcher thread is shuting down already");
OSL_PRECOND(!m_bShutdownRequested, "MailDispatcher thread is shutting down already");
::osl::MutexGuard guard( m_aListenerContainerMutex );
m_aListenerVector.push_back( listener );
......
......@@ -144,7 +144,7 @@ class SwMailMergeConfigItem_Impl : public utl::ConfigItem
std::vector< SwDocMergeInfo > m_aMergeInfos;
//we do overwrite the usersettings in a special case
//than we do remind the usersettings here
//then we do remind the usersettings here
bool m_bUserSettingWereOverwritten;
bool m_bIsAddressBlock_LastUserSetting;
bool m_bIsGreetingLineInMail_LastUserSetting;
......
......@@ -754,7 +754,7 @@ void SwXAutoTextEntry::Notify( SfxBroadcaster& _rBC, const SfxHint& _rHint )
{
if ( SfxHintId::Deinitializing == _rHint.GetId() )
{
// our document is dying (possibly because we're shuting down, and the document was notified
// our document is dying (possibly because we're shutting down, and the document was notified
// earlier than we are?)
// stop listening at the docu
EndListening( *xDocSh );
......
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