Fix typos

Change-Id: I998817b5b92aa3b372dec4906b3b980355d4e34e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210069
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2026-08-27 14:12:54 +02:00
committed by Julien Nabet
parent b0483fcff5
commit 0c48ac2f19
3 changed files with 10 additions and 11 deletions
@@ -579,7 +579,7 @@ void VclPixelProcessor2D::processUnifiedTransparencePrimitive2D(
SAL_WARN_IF(!pPoHair, "drawinglayer",
"OOps, PrimitiveID and PrimitiveType do not match (!)");
// do no tallow by default - problem is that self-overlapping parts of this geometry will
// do not allow by default - problem is that self-overlapping parts of this geometry will
// not be in an all-same transparency but will already alpha-cover themselves with blending.
// This is not what the UnifiedTransparencePrimitive2D defines: It requires all its
// content to be uniformly transparent.
@@ -595,7 +595,7 @@ void VclPixelProcessor2D::processUnifiedTransparencePrimitive2D(
SAL_WARN_IF(!pPoStroke, "drawinglayer",
"OOps, PrimitiveID and PrimitiveType do not match (!)");
// do no tallow by default - problem is that self-overlapping parts of this geometry will
// do not allow by default - problem is that self-overlapping parts of this geometry will
// not be in an all-same transparency but will already alpha-cover themselves with blending.
// This is not what the UnifiedTransparencePrimitive2D defines: It requires all its
// content to be uniformly transparent.
@@ -646,7 +646,7 @@ void VclPixelProcessor2D::processControlPrimitive2D(
if (bControlIsVisibleAsChildWindow)
{
// f the control is already visualized as a VCL-ChildWindow it
// if the control is already visualized as a VCL-ChildWindow it
// does not need to be painted at all
return;
}
+4 -4
View File
@@ -2044,12 +2044,12 @@ bool EscherPropertyContainer::CreatePolygonProperties(
/*
in MS,the connector including 9 types :
in MS, the connector includes 9 types :
"straightConnector1",
"bentConnector2","bentConnector3","bentConnector4","bentConnector5"
"curvedConnector2","curvedConnector3","curvedConnector4","curvedConnector5"
in AOO,including 4 types:"standard","lines","line","curve"
when save as MS file, the connector must be convert to corresponding type.
in AOO, including 4 types: "standard","lines","line","curve"
when saved as MS file, the connector must be converted to corresponding type.
"line" and "lines" <-> "straightConnector1"
"standard" <-> "bentConnector2-5"
"curve" <-> "curvedConnector2-5"
@@ -2140,7 +2140,7 @@ static void lcl_Rotate(Degree100 nAngle, Point center, Point& pt)
/*
FlipV defines that the shape will be flipped vertically about the center of its bounding box.
Generally, draw the connector from top to bottom, from left to right when meet the adjust value,
but when (X1>X2 or Y1>Y2),the draw director must be reverse, FlipV or FlipH should be set to true.
but when (X1>X2 or Y1>Y2), the draw direction must be reversed, FlipV or FlipH should be set to true.
*/
static bool lcl_GetAngle(tools::Polygon &rPoly, ShapeFlag& rShapeFlags,sal_Int32& nAngle )
{
+3 -4
View File
@@ -6462,7 +6462,7 @@ bool SvxMSDffManager::GetBLIP( sal_uLong nIdx_, Graphic& rGraphic, tools::Rectan
bOk = GetBLIPDirect( *pStData, rGraphic, pVisArea );
if( pStData2 && !bOk )
{
// Error, but the is a second chance: There is a second
// Error, but there is a second chance: There is a second
// data stream in which the graphic could be stored!
if( pStData2->GetError() )
pStData2->ResetError();
@@ -7241,11 +7241,10 @@ css::uno::Reference < css::embed::XEmbeddedObject > SvxMSDffManager::CheckForCo
}
// JP 26.10.2001: Bug 93374 / 91928 the writer
// objects need the correct visarea needs the
// correct visarea, but this is not true for
// objects need the correct visarea, but this is not true for
// PowerPoint (see bugdoc 94908b)
// SJ: 19.11.2001 bug 94908, also chart objects
// needs the correct visarea
// need the correct visarea
// If pName is set this is an own embedded object, it should have the correct size internally
// TODO/LATER: it might make sense in future to set the size stored in internal object