From 31ad0ae9614f2fa7fcad72ec76b289b450338952 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 28 Aug 2026 00:10:55 +0200 Subject: [PATCH] Fix typos Change-Id: Ideff976ff571a2bf0797051de1432ed59a982d85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210213 Tested-by: Jenkins Reviewed-by: Julien Nabet --- vcl/qa/cppunit/GraphicFormatDetectorTest.cxx | 2 +- vcl/qa/cppunit/GraphicTest.cxx | 2 +- vcl/qa/cppunit/a11y/atspi2/atspiwrapper.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vcl/qa/cppunit/GraphicFormatDetectorTest.cxx b/vcl/qa/cppunit/GraphicFormatDetectorTest.cxx index 20e0288ab4ca..91f3685548d9 100644 --- a/vcl/qa/cppunit/GraphicFormatDetectorTest.cxx +++ b/vcl/qa/cppunit/GraphicFormatDetectorTest.cxx @@ -501,7 +501,7 @@ void GraphicFormatDetectorTest::testMatchArray() CPPUNIT_ASSERT_EQUAL(119, int(pMatchPointer - pCompleteStringPointer)); CPPUNIT_ASSERT_EQUAL(true, o3tl::starts_with(pMatchPointer, "/svg>")); - // Check that non-existing search string + // Check non-existing search string pMatchPointer = vcl::matchArrayWithString(aString.c_str(), nCheckSize, "none"_ostr); CPPUNIT_ASSERT(pMatchPointer == nullptr); } diff --git a/vcl/qa/cppunit/GraphicTest.cxx b/vcl/qa/cppunit/GraphicTest.cxx index 207cb77174af..b4c3ca6f1c2d 100644 --- a/vcl/qa/cppunit/GraphicTest.cxx +++ b/vcl/qa/cppunit/GraphicTest.cxx @@ -440,7 +440,7 @@ CPPUNIT_TEST_FIXTURE(GraphicTest, testEmfToWmfConversion) OUString aURL = aDirectories.getURLFromSrc(DATA_DIRECTORY) + "to-wmf.emf"; SvFileStream aStream(aURL, StreamMode::READ); Graphic aGraphic; - // This similar to an application/x-openoffice-wmf mime type in manifest.xml in the ODF case. + // This is similar to an application/x-openoffice-wmf mime type in manifest.xml in the ODF case. sal_uInt16 nFormatEMF = aGraphicFilter.GetImportFormatNumberForShortName(u"EMF"); CPPUNIT_ASSERT_EQUAL(ERRCODE_NONE, aGraphicFilter.ImportGraphic(aGraphic, u"", aStream, nFormatEMF)); diff --git a/vcl/qa/cppunit/a11y/atspi2/atspiwrapper.hxx b/vcl/qa/cppunit/a11y/atspi2/atspiwrapper.hxx index 6da7bfdf98ac..e7fca27fc358 100644 --- a/vcl/qa/cppunit/a11y/atspi2/atspiwrapper.hxx +++ b/vcl/qa/cppunit/a11y/atspi2/atspiwrapper.hxx @@ -116,7 +116,7 @@ protected: /** * @brief Retrieves the string representation of an enumeration value * @param gt The @c GType for the enumeration - * @param value The enumeration value for which to get the name for + * @param value The enumeration value for which to get the name * @param fallback Fallback value in case @p value falls outside the enumeration * @returns A string representing @p value */