summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-12-16 18:35:08 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-12-16 21:52:43 +0100
commit63f2350fa3f91fcc310f85a59f1becdfee2784af (patch)
tree6f33312c3695ec845c4a1014a7a3f8a9c868ce44
parentab864bd178a44208c98a2fd1b1248df5f1db1fc9 (diff)
Fix typos
Change-Id: I66feced8bed05c7859e36a6d2f746a7faf30c7a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126915 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
-rw-r--r--filter/source/msfilter/svdfppt.cxx2
-rw-r--r--include/xmloff/prstylei.hxx2
-rw-r--r--sal/qa/osl/file/osl_File.cxx2
-rw-r--r--svl/source/misc/urihelper.cxx2
-rw-r--r--svx/source/customshapes/EnhancedCustomShape3d.cxx8
-rw-r--r--sw/inc/textboxhelper.hxx2
-rw-r--r--sw/qa/extras/layout/layout2.cxx2
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx4
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx2
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx2
10 files changed, 14 insertions, 14 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 21df91f595b6..9828b287bda5 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -2381,7 +2381,7 @@ SdrObject* SdrPowerPointImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj*
bool SdrPowerPointImport::SeekToDocument( DffRecordHeader* pRecHd ) const
{
bool bRet;
- sal_uInt64 nOldFPos = rStCtrl.Tell(); // remember FilePos for restoring it should the situation arise
+ sal_uInt64 nOldFPos = rStCtrl.Tell(); // remember FilePos for restoring it, if the situation should happen
rStCtrl.Seek( m_nDocStreamPos );
DffRecordHeader aDocHd;
ReadDffRecordHeader( rStCtrl, aDocHd );
diff --git a/include/xmloff/prstylei.hxx b/include/xmloff/prstylei.hxx
index c2766f76fa0c..98df0c4ead52 100644
--- a/include/xmloff/prstylei.hxx
+++ b/include/xmloff/prstylei.hxx
@@ -58,7 +58,7 @@ protected:
// Helper which will deactivate all old fill definitions (identified by
// the given OldFillStyleDefinitionSet) in the local maProperties. Deactivation
- // is done setting theindex to -1. It returns true when actually old fill
+ // is done setting the index to -1. It returns true when actually old fill
// definitions existed and were deactivated
void deactivateOldFillStyleDefinitions(
const OldFillStyleDefinitionSet& rHashSetOfTags);
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index ebab41eb17bf..2eac7d1688af 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -789,7 +789,7 @@ namespace osl_FileBase
the second only on windows based systems
the first parameter are a file URL where we want to get the system path of,
the second parameter is the assumed error of the osl_getSystemPathFromFileURL() function,
- the third parameter is the assumed result string, the string will only test, if its length is greater 0
+ the third parameter is the assumed result string, the string will only test, if its length is greater than 0
*/
void SystemPath_FileURL::getSystemPathFromFileURL_001_1()
diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx
index 068aea281312..af92a9d41fe2 100644
--- a/svl/source/misc/urihelper.cxx
+++ b/svl/source/misc/urihelper.cxx
@@ -347,7 +347,7 @@ bool isBoundary2(CharClass const & rCharClass, OUString const & rStr,
}
}
-// tdf#145381 Added MatchingBracketDepth counter o detect maching closing
+// tdf#145381 Added MatchingBracketDepth counter to detect matching closing
// brackets that are part of the uri
bool checkWChar(CharClass const & rCharClass, OUString const & rStr,
sal_Int32 * pPos, sal_Int32 * pEnd,
diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx
index d378a0d1ff85..c967261cfd22 100644
--- a/svx/source/customshapes/EnhancedCustomShape3d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape3d.cxx
@@ -611,7 +611,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject(
aBoundAfter2DTransform.SetRight(aTotalPolyPolyRange.getMaxX());
aBoundAfter2DTransform.SetBottom(aTotalPolyPolyRange.getMaxY());
- // Property "Origin" in API is relativ to bounding box of shape after 2D
+ // Property "Origin" in API is relative to bounding box of shape after 2D
// transformations. Range is [-0.5;0.5] with center of bounding box as 0.
// Resolve "Origin" fractions to length
GetOrigin( rGeometryItem, fOriginX, fOriginY );
@@ -625,7 +625,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject(
// Translate point "Origin" too.
fOriginX -= aCenter.X();
fOriginY -= -aCenter.Y();
- // API ViewPoint values are relativ to point "Origin" and have y-axis down.
+ // API ViewPoint values are relative to point "Origin" and have y-axis down.
// ToDo: These default ViewPoint values are used as default by MS Office. But ODF
// default is (3500, -3500, 25000), details in tdf#146192.
drawing::Position3D aViewPointDefault( 3472, -3472, 25000 );
@@ -653,8 +653,8 @@ SdrObject* EnhancedCustomShape3d::Create3DObject(
// NbcSetTransform has not updated the scene 2D rectangles.
// Idea: Get a bound volume as polygon from bound rectangle of shape without 2D
- // transfomations. Calculate its projection to the XY-plane. Then calculate the bounding
- // rectangle of the projection and convert this rectangle back to absolut 2D coordinates.
+ // transformations. Calculate its projection to the XY-plane. Then calculate the bounding
+ // rectangle of the projection and convert this rectangle back to absolute 2D coordinates.
// Set that as 2D rectangle of the scene.
const tools::Polygon aPolygon(aBoundRect2d); // y-up
basegfx::B3DPolygon aPolygonBoundVolume; // y-down, scene coordinates
diff --git a/sw/inc/textboxhelper.hxx b/sw/inc/textboxhelper.hxx
index 1a0cadabc0e9..a41c6c9eaf87 100644
--- a/sw/inc/textboxhelper.hxx
+++ b/sw/inc/textboxhelper.hxx
@@ -188,7 +188,7 @@ public:
/// Calls the method given by pFunc with every textboxes of the group given by pFormat.
static void synchronizeGroupTextBoxProperty(bool pFunc(SwFrameFormat*, SdrObject*),
SwFrameFormat* pFormat, SdrObject* pObj);
- /// Collect all textboxes of the group given by the pGoupObj Parameter. Returns with a
+ /// Collect all textboxes of the group given by the pGroupObj Parameter. Returns with a
/// vector filled with the textboxes.
static std::vector<SwFrameFormat*> CollectTextBoxes(SdrObject* pGroupObject,
SwFrameFormat* pFormat);
diff --git a/sw/qa/extras/layout/layout2.cxx b/sw/qa/extras/layout/layout2.cxx
index 47403ea6a1da..f14176251780 100644
--- a/sw/qa/extras/layout/layout2.cxx
+++ b/sw/qa/extras/layout/layout2.cxx
@@ -1562,7 +1562,7 @@ CPPUNIT_TEST_FIXTURE(SwLayoutWriter2, TestTextBoxChangeViaUNO)
CPPUNIT_ASSERT(createSwDoc(DATA_DIRECTORY, "TextBoxFrame.odt"));
// this file has a shape and a frame inside. Try to set up
// the frame for the shape as textbox. Before this was not
- // implemented. This will be necesary for proper WPG import.
+ // implemented. This will be necessary for proper WPG import.
CPPUNIT_ASSERT_EQUAL_MESSAGE("There must be a shape and a frame!", 2, getShapes());
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index 490f7f296757..243add5dc339 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -1315,7 +1315,7 @@ void WW8AttributeOutput::CharUnderline( const SvxUnderlineItem& rUnderline )
if(pWordline)
bWord = pWordline->GetValue();
else
- SAL_WARN("sw.ww8", "m_rWW8Export has an RES_CHRATR_WORDLINEMODE item, but its of the wrong type.");
+ SAL_WARN("sw.ww8", "m_rWW8Export has an RES_CHRATR_WORDLINEMODE item, but it's of the wrong type.");
}
// WW95 - parameters: 0 = none, 1 = single, 2 = by Word,
@@ -5299,7 +5299,7 @@ void WW8AttributeOutput::ParaTabStop( const SvxTabStopItem& rTabStops )
nCurrentLeft = pLR->GetTextLeft();
else
// FIXME: This fails in sw.ww8export/testCommentExport::Load_Verify_Reload_Verify
- SAL_WARN("sw.ww8", "m_rWW8Export has an RES_LR_SPACE item, but its of the wrong type.");
+ SAL_WARN("sw.ww8", "m_rWW8Export has an RES_LR_SPACE item, but it's of the wrong type.");
}
}
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 002a85ce7e71..69bed2580eca 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -273,7 +273,7 @@ sal_uInt16 SwWW8ImplReader::End_Footnote()
pFN->SetNumber(0, 0, sChar);
/*
- Delete the footnote char from the footnote if its at the beginning
+ Delete the footnote char from the footnote if it's at the beginning
as usual. Might not be if the user has already deleted it, e.g.
#i14737#
*/
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 038f91ffbb9f..0ab704073f29 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -5408,7 +5408,7 @@ void WW8PLCFMan::AdvSprm(short nIdx, bool bStart)
p->nStartPos = p->nOrigEndPos+p->nCpOfs;
/*
- On failed seek we have run out of sprms, probably. But if its
+ On failed seek we have run out of sprms, probably. But if it's
a fastsaved file (has pPcd) then we may be just in a sprm free
gap between pieces that have them, so set dirty flag in sprm
finder to consider than.