Fix typos
Change-Id: I66feced8bed05c7859e36a6d2f746a7faf30c7a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126915 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
This commit is contained in:
committed by
Julien Nabet
parent
ab864bd178
commit
63f2350fa3
@@ -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 );
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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());
|
||||
|
||||
|
||||
@@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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#
|
||||
*/
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user