Fix typos
Change-Id: I8f955343e2c28ce316749bb9fb5c44f55559e601 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209919 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
99de25d362
commit
e115de288f
@@ -64,7 +64,7 @@ void SwToLayoutAnchoredObjectPosition::CalcPosition()
|
||||
// calculate 'vertical' position
|
||||
SwFormatVertOrient aVert( rFrameFormat.GetVertOrient() );
|
||||
{
|
||||
// to-frame anchored objects are *only* vertical positioned centered or
|
||||
// to-frame anchored objects are *only* vertically positioned centered or
|
||||
// bottom, if its wrap mode is 'through' and its anchor frame has fixed
|
||||
// size. Otherwise, it's positioned top.
|
||||
sal_Int16 eVertOrient = aVert.GetVertOrient();
|
||||
@@ -218,7 +218,7 @@ void SwToLayoutAnchoredObjectPosition::CalcPosition()
|
||||
}
|
||||
} // end of determination of horizontal position
|
||||
|
||||
// keep calculate relative position
|
||||
// keep calculated relative position
|
||||
maRelPos = aRelPos;
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ SwTwips SwIsoToxPortion::GetViewWidth(const SwTextSizeInfo& rInf) const
|
||||
// Although we are const, nViewWidth should be calculated in the last
|
||||
// moment possible
|
||||
SwIsoToxPortion* pThis = const_cast<SwIsoToxPortion*>(this);
|
||||
// nViewWidth need to be calculated
|
||||
// nViewWidth needs to be calculated
|
||||
if( !Width() && rInf.OnWin() &&
|
||||
!rInf.GetOpt().IsPagePreview() &&
|
||||
!rInf.GetOpt().IsReadonly() && rInf.GetOpt().IsFieldShadings() )
|
||||
|
||||
@@ -112,7 +112,7 @@ SwGrammarMarkUp* GrammarContact::getGrammarCheck( SwTextNode& rTextNode, bool bC
|
||||
}
|
||||
else
|
||||
{
|
||||
pRet = rTextNode.GetGrammarCheck(); // do you have already a list?
|
||||
pRet = rTextNode.GetGrammarCheck(); // do you already have a list?
|
||||
if( bCreate && !pRet ) // do you want to create a list?
|
||||
{
|
||||
pRet = new SwGrammarMarkUp();
|
||||
@@ -137,7 +137,7 @@ void GrammarContact::finishGrammarCheck( const SwTextNode& rTextNode )
|
||||
m_aTimer.Start(); // will replace old list and repaint with delay
|
||||
}
|
||||
else if( m_pTextNode->GetGrammarCheck() )
|
||||
{ // all grammar problems seems to be gone, no delay needed
|
||||
{ // all grammar problems seem to be gone, no delay needed
|
||||
m_pTextNode->ClearGrammarCheck();
|
||||
SwTextFrame::repaintTextFrames( *m_pTextNode );
|
||||
}
|
||||
|
||||
@@ -236,7 +236,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestPDFExportRTF(SvStream& rStream)
|
||||
uno::Reference<io::XOutputStream> xOutputStream(
|
||||
new utl::OStreamWrapper(*aTempFile.GetStream(StreamMode::READWRITE)));
|
||||
|
||||
// ofz#60533 fuzzer learned to use fo:font-size="842pt" which generate timeouts trying
|
||||
// ofz#60533 fuzzer learned to use fo:font-size="842pt" which generates timeouts trying
|
||||
// to export thousands of pages from minimal input size
|
||||
uno::Sequence<beans::PropertyValue> aFilterData(
|
||||
comphelper::InitPropertySequence({ { "PageRange", uno::Any(u"1-100"_ustr) } }));
|
||||
|
||||
Reference in New Issue
Block a user