Fix typos

Change-Id: I2f3539c4536a090ccb827e12a39f4718a73fe4fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211771
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2026-10-03 10:10:33 +02:00
committed by Julien Nabet
parent 179a31e987
commit f0bc159124
7 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -483,7 +483,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf169024_verticalTopFrame)
// gets exported as 'bottom' in DOCX, and import maps 'bottom' to top of Line of Text again
auto verify = [this]() {
// To Character anchored Line of Text need to be LINE_TOP in order for the GUI to pick it up
// To Character anchored Line of Text needs to be LINE_TOP in order for the GUI to pick it up
CPPUNIT_ASSERT_EQUAL(text::RelOrientation::TEXT_LINE,
getProperty<sal_Int16>(getShape(1), u"VertOrientRelation"_ustr));
CPPUNIT_ASSERT_EQUAL(text::VertOrientation::LINE_TOP,
@@ -508,7 +508,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf169024)
createSwDoc("tdf90153.docx");
//saveAndReload(TestFilter::DOCX);
// To Character anchored Line of Text need to be LINE_BOTTOM in order for the GUI to pick it up
// To Character anchored Line of Text needs to be LINE_BOTTOM in order for the GUI to pick it up
CPPUNIT_ASSERT_EQUAL(text::RelOrientation::TEXT_LINE,
getProperty<sal_Int16>(getShape(1), u"VertOrientRelation"_ustr));
CPPUNIT_ASSERT_EQUAL(text::VertOrientation::LINE_BOTTOM,
@@ -2187,7 +2187,7 @@ void DocumentContentOperationsManager::DeleteDummyChar(
void DocumentContentOperationsManager::DeleteRange( SwPaM & rPam )
{
// Seek all redlines that are in that PaM to be deleted..
// Seek all redlines that are in that PaM to be deleted.
SwRedlineTable::size_type nRedlStart = m_rDoc.getIDocumentRedlineAccess().GetRedlinePos(
rPam.Start()->GetNode(), RedlineType::Any);
SwRedlineTable::size_type nRedlEnd = m_rDoc.getIDocumentRedlineAccess().GetRedlineEndPos(
+1 -1
View File
@@ -509,7 +509,7 @@ static void lcl_CpyBox( const SwTable& rCpyTable, const SwTableBox* pCpyBox,
// The text that arrives with the copy will be recalculated based on the formula,
// and that would eliminate the tracked change from the cell anyway.
// TODO: if we want tracked changes to work on it, we should create a new type of
// tracked change that track the formula changes, not the cell values changes.
// tracked change that tracks the formula changes, not the cell value changes.
const bool bTrackChanges = !pCpyBox
|| SfxItemState::SET
!= pCpyBox->GetFrameFormat()->GetItemState( RES_BOXATR_FORMULA, false );
+1 -1
View File
@@ -424,7 +424,7 @@ const SwLayoutFrame *SwFrame::ImplGetNextLayoutLeaf( bool bFwd ) const
if ( !bGoingDown )
{
// I cannot go down, because either I'm currently going up or
// because the is no lower.
// because there is no lower.
// I'll try to go forward:
p = lcl_FindLayoutFrame( pFrame, bFwd );
bGoingFwdOrBwd = nullptr != p;
+1 -1
View File
@@ -3763,7 +3763,7 @@ static bool lcl_IsAtTextEnd(const SwFormatFootnote& rFootnote)
pSectNd = pSectNd->StartOfSectionNode()->FindSectionNode();
if (!pSectNd)
bRet = false; // the is ftn/end collected at Page- or Doc-End
bRet = false; // this is ftn/end collected at Page- or Doc-End
}
return bRet;
}
@@ -7517,7 +7517,7 @@ void DomainMapper_Impl::handleToc
OUString sFigureSequence;
OUString aBookmarkName;
// \a Builds a table of figures but does not include the captions's label and number
// \a Builds a table of figures but does not include the captions' label and number
if( lcl_FindInCommand( pContext->GetCommand(), 'a', sValue ))
{ //make it a table of figures
bTableOfFigures = true;
+1 -1
View File
@@ -857,7 +857,7 @@ private:
AlphaMask m_aAlphaMask;
};
/// Cache some most recent bitmaps we've exported, in case we encounter them again..
/// Cache some most recent bitmaps we've exported, in case we encounter them again.
o3tl::lru_map<BitmapChecksum, std::optional<PDFBmpCacheEntry>> m_aPDFBmpCache;
sal_Int32 m_nCurrentPage;