[Libreoffice-commits] core.git: vcl/qa vcl/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 28 09:06:06 UTC 2020
vcl/qa/cppunit/timer.cxx | 10 +++++-----
vcl/source/gdi/mtfxmldump.cxx | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit c2de8cb841aa330b96f488c19a56fc20457c37b3
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Aug 27 23:32:18 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Aug 28 11:05:27 2020 +0200
Fix typos in code
It passed "make check" on Linux
Change-Id: I37715efd1fdeee53f2ebb747d668553ae4a75290
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101511
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/vcl/qa/cppunit/timer.cxx b/vcl/qa/cppunit/timer.cxx
index 4071cd0fdc3b..112e3f611b96 100644
--- a/vcl/qa/cppunit/timer.cxx
+++ b/vcl/qa/cppunit/timer.cxx
@@ -470,21 +470,21 @@ namespace {
class IdleSerializer : public Idle
{
sal_uInt32 mnPosition;
- sal_uInt32 &mrProcesed;
+ sal_uInt32 &mrProcessed;
public:
IdleSerializer(const char *pDebugName, TaskPriority ePrio,
- sal_uInt32 nPosition, sal_uInt32 &rProcesed)
+ sal_uInt32 nPosition, sal_uInt32 &rProcessed)
: Idle( pDebugName )
, mnPosition( nPosition )
- , mrProcesed( rProcesed )
+ , mrProcessed( rProcessed )
{
SetPriority(ePrio);
Start();
}
virtual void Invoke() override
{
- ++mrProcesed;
- CPPUNIT_ASSERT_EQUAL_MESSAGE( "Ignored prio", mnPosition, mrProcesed );
+ ++mrProcessed;
+ CPPUNIT_ASSERT_EQUAL_MESSAGE( "Ignored prio", mnPosition, mrProcessed );
}
};
diff --git a/vcl/source/gdi/mtfxmldump.cxx b/vcl/source/gdi/mtfxmldump.cxx
index 4af6c43c9acd..229cecda695a 100644
--- a/vcl/source/gdi/mtfxmldump.cxx
+++ b/vcl/source/gdi/mtfxmldump.cxx
@@ -205,7 +205,7 @@ OUString convertPolygonFlags(PolyFlags eFlags)
}
}
-OUString convertFontWeigthToString(FontWeight eFontWeight)
+OUString convertFontWeightToString(FontWeight eFontWeight)
{
switch (eFontWeight)
{
@@ -1145,7 +1145,7 @@ void MetafileXmlDump::writeXml(const GDIMetaFile& rMetaFile, tools::XmlWriter& r
rWriter.attribute("width", aFont.GetFontSize().Width());
rWriter.attribute("height", aFont.GetFontSize().Height());
rWriter.attribute("orientation", aFont.GetOrientation());
- rWriter.attribute("weight", convertFontWeigthToString(aFont.GetWeight()));
+ rWriter.attribute("weight", convertFontWeightToString(aFont.GetWeight()));
rWriter.attribute("vertical", aFont.IsVertical() ? "true" : "false");
rWriter.endElement();
More information about the Libreoffice-commits
mailing list