Fix typos
Change-Id: Id77e08f915202f02fbbb59972a2da5a9d27fcd91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209494 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
916c90bf84
commit
457cabfddd
@@ -219,7 +219,7 @@ void SwHHCWrapper::ChangeText( const OUString &rNewText,
|
||||
if (rNewText.isEmpty())
|
||||
return;
|
||||
|
||||
if (pOffsets && pCursor) // try to keep as much attributation as possible ?
|
||||
if (pOffsets && pCursor) // try to keep as much attribution as possible ?
|
||||
{
|
||||
// remember cursor start position for later setting of the cursor
|
||||
const SwPosition *pStart = pCursor->Start();
|
||||
|
||||
@@ -554,7 +554,7 @@ void SwRedlineAcceptDlg::Activate()
|
||||
return;
|
||||
}
|
||||
|
||||
// here was a continue; targetted to the outer loop
|
||||
// here was a continue; targeted to the outer loop
|
||||
// now a break will do, as there is nothing after it in the outer loop
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -2705,7 +2705,7 @@ void SwBaseShell::GetBckColState(SfxItemSet &rSet)
|
||||
{
|
||||
// if this was intended to have a independent copy of the Item to be set
|
||||
// this is not needed due to the ItemSet/Pool cloning Items which get set anyways.
|
||||
// Keeping code as reference - it may have had other reasons I do notz see (?!?)
|
||||
// Keeping code as reference - it may have had other reasons I do not see (?!?)
|
||||
// std::unique_ptr<SfxPoolItem> pNewItem(aBrushItem.CloneSetWhich(GetPool().GetWhich(nWhich)));
|
||||
rSet.Put(*aBrushItem);
|
||||
break;
|
||||
|
||||
@@ -495,7 +495,7 @@ bool SwView::SearchAndWrap(bool bApi)
|
||||
// constructed to fix search key not found when a forward search (Find Next) results in a
|
||||
// unique find selection to the end of the document followed by a backward search (Find
|
||||
// Previous) or when a backward search results in a unique find selection to the start of the
|
||||
// document followed by a forward search search. Unique find selection meaning the document
|
||||
// document followed by a forward search. Unique find selection meaning the document
|
||||
// contains only one match of the search key.
|
||||
|
||||
// fdo#65014 : Ensure that the point of the cursor is at the extremity of the
|
||||
|
||||
@@ -45,7 +45,7 @@ com_sun_star_comp_Writer_WriterModule_get_implementation(uno::XComponentContext*
|
||||
// XNotifyingDispatch
|
||||
void SAL_CALL SwUnoModule::dispatchWithNotification( const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs, const uno::Reference< frame::XDispatchResultListener >& xListener )
|
||||
{
|
||||
// there is no guarantee, that we are holded alive during this method!
|
||||
// there is no guarantee, that we are held alive during this method!
|
||||
// May the outside dispatch container will be updated by a CONTEXT_CHANGED
|
||||
// asynchronous ...
|
||||
uno::Reference< uno::XInterface > xThis(static_cast< frame::XNotifyingDispatch* >(this));
|
||||
|
||||
@@ -2888,7 +2888,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwXTextDocument::getRenderer(
|
||||
m_pRenderData->GetPagesToPrint().size() - 1;
|
||||
}
|
||||
// since SwSrcView::PrintSource is a poor implementation to get the number of pages to print
|
||||
// we obmit checking of the upper bound in this case.
|
||||
// we omit checking of the upper bound in this case.
|
||||
if (!bIsSwSrcView && m_pRenderData && nRenderer > nMaxRenderer)
|
||||
return uno::Sequence< beans::PropertyValue >();
|
||||
|
||||
@@ -3197,7 +3197,7 @@ void SAL_CALL SwXTextDocument::render(
|
||||
m_pRenderData->GetPagesToPrint().size() - 1;
|
||||
}
|
||||
// since SwSrcView::PrintSource is a poor implementation to get the number of pages to print
|
||||
// we obmit checking of the upper bound in this case.
|
||||
// we omit checking of the upper bound in this case.
|
||||
if (bIsSwSrcView || nRenderer <= nMaxRenderer)
|
||||
{
|
||||
if (bIsSwSrcView)
|
||||
|
||||
Reference in New Issue
Block a user