Fix typos

Change-Id: I7216801a3e1f44560e82ae27d7cdb66600f1d31b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209884
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2026-08-25 11:02:33 +02:00
committed by Julien Nabet
parent 40212c0e3e
commit 2f87617fb2
4 changed files with 12 additions and 12 deletions
@@ -231,7 +231,7 @@ namespace dxcanvas
// gradients ever: SetFocusScales completely ignores
// transformations, both when set at the PathGradientBrush
// and for the world coordinate system. Thus, to correctly
// display anisotrophic path gradients, we have to render
// display anisotropic path gradients, we have to render
// them by hand. WTF.
// TODO(F2): This does not yet support other repeat modes
@@ -268,7 +268,7 @@ namespace dxcanvas
::basegfx::unotools::homMatrixFromAffineMatrix( aTextureTransform,
texture.AffineTransform );
// determine overall transformation for inner polygon (might
// have to be prefixed by anisotrophic scaling)
// have to be prefixed by anisotropic scaling)
::basegfx::B2DHomMatrix aInnerPolygonTransformMatrix;
// For performance reasons, we create a temporary VCL polygon
@@ -287,7 +287,7 @@ namespace dxcanvas
aOuterPoly.transform(aTextureTransform);
// apply scaling (possibly anisotrophic) to inner polygon
// apply scaling (possibly anisotropic) to inner polygon
// scale inner polygon according to aspect ratio: for
@@ -310,7 +310,7 @@ namespace dxcanvas
}
else
{
// isotrophic case
// isotropic case
aInnerPolygonTransformMatrix.scale( 0.0, 0.0 );
}
@@ -329,11 +329,11 @@ namespace vclcanvas
aOuterPoly.transform( rTextureTransform );
// determine overall transformation for inner polygon (might
// have to be prefixed by anisotrophic scaling)
// have to be prefixed by anisotropic scaling)
::basegfx::B2DHomMatrix aInnerPolygonTransformMatrix;
// apply scaling (possibly anisotrophic) to inner polygon
// apply scaling (possibly anisotropic) to inner polygon
// scale inner polygon according to aspect ratio: for
@@ -356,7 +356,7 @@ namespace vclcanvas
}
else
{
// isotrophic case
// isotropic case
aInnerPolygonTransformMatrix.scale( 0.0, 0.0 );
}
+4 -4
View File
@@ -78,8 +78,8 @@ bool Narrow::VisitBinaryOperator(const BinaryOperator* binaryOp)
if (tc.Typedef("sal_UCS4").GlobalNamespace()
|| lhsType->isSpecificBuiltinType(BuiltinType::UInt))
return true;
report(DiagnosticsEngine::Warning,
"loosing information assigning a sal_UCS4 value to a %0 type", binaryOp->getBeginLoc())
report(DiagnosticsEngine::Warning, "losing information assigning a sal_UCS4 value to a %0 type",
binaryOp->getBeginLoc())
<< lhsType << binaryOp->getSourceRange();
return true;
}
@@ -95,8 +95,8 @@ bool Narrow::VisitVarDecl(const VarDecl* decl)
return true;
if (loplugin::TypeCheck(decl->getType()).Typedef("sal_UCS4").GlobalNamespace())
return true;
report(DiagnosticsEngine::Warning,
"loosing information assigning a sal_UCS4 value to a %0 type", decl->getBeginLoc())
report(DiagnosticsEngine::Warning, "losing information assigning a sal_UCS4 value to a %0 type",
decl->getBeginLoc())
<< decl->getType() << decl->getSourceRange();
return true;
}
+1 -1
View File
@@ -13,7 +13,7 @@
#include "plugin.hxx"
// Warn about unnamed namespaces nested (directly) within unnamed namespaces. (It can be hard to
// keep track whether a certain spot in a source file is already in an unnamed namespace, so it
// keep track of whether a certain spot in a source file is already in an unnamed namespace, so it
// happens that additions to the source add redundant, nested unnamed namespaces.)
namespace