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
+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