From b2987ad577371f74548499d06c734fd98517114a Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 24 Aug 2026 22:02:30 +0200 Subject: [PATCH] Fix typos Change-Id: I3fbc308fa4c51674e90b27cff704830904a372f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209889 Tested-by: Jenkins Reviewed-by: Julien Nabet --- connectivity/source/inc/java/lang/String.hxx | 2 +- connectivity/source/inc/odbc/OTools.hxx | 2 +- cppcanvas/qa/extras/emfplus/emfplus.cxx | 2 +- cppcanvas/qa/unit/test.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/connectivity/source/inc/java/lang/String.hxx b/connectivity/source/inc/java/lang/String.hxx index 2783b6eeb9bf..3e4b5bbd48af 100644 --- a/connectivity/source/inc/java/lang/String.hxx +++ b/connectivity/source/inc/java/lang/String.hxx @@ -25,7 +25,7 @@ namespace connectivity class java_lang_String : public java_lang_Object { protected: - // statis Data for the Class + // static Data for the Class static jclass theClass; public: virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/odbc/OTools.hxx b/connectivity/source/inc/odbc/OTools.hxx index c97ce4f4654a..a3c49cd79099 100644 --- a/connectivity/source/inc/odbc/OTools.hxx +++ b/connectivity/source/inc/odbc/OTools.hxx @@ -350,7 +350,7 @@ using SQLWChars = CHARS; #ifdef _WIN32 const bool bUseWChar = true; #else -const volatile inline bool bUseWChar = false; // volatile to avoid "unreachabe code" warnings +const volatile inline bool bUseWChar = false; // volatile to avoid "unreachable code" warnings #endif } diff --git a/cppcanvas/qa/extras/emfplus/emfplus.cxx b/cppcanvas/qa/extras/emfplus/emfplus.cxx index fd740aa16a64..8301462277dc 100644 --- a/cppcanvas/qa/extras/emfplus/emfplus.cxx +++ b/cppcanvas/qa/extras/emfplus/emfplus.cxx @@ -35,7 +35,7 @@ public: std::shared_ptr xMetaFile = pShell->GetPreviewMetaFile(); Bitmap aResultBitmap; CPPUNIT_ASSERT(xMetaFile->CreateThumbnail(aResultBitmap)); - // If this is set, the metafile will be dumped as a PNG one for debug purposes. + // If this is set, the metafile will be dumped as a PNG for debug purposes. char* pEnv = getenv("CPPCANVAS_DEBUG_EMFPLUS_DUMP_TO"); if (pEnv) { diff --git a/cppcanvas/qa/unit/test.cxx b/cppcanvas/qa/unit/test.cxx index adab86604cfc..c23a076c6af5 100644 --- a/cppcanvas/qa/unit/test.cxx +++ b/cppcanvas/qa/unit/test.cxx @@ -152,7 +152,7 @@ CPPUNIT_TEST_FIXTURE(CanvasTest, testTdf155810) aOutputMetaFile.Stop(); } - // Then check that the text array drawn by the canvas renderer didn’t loose + // Then check that the text array drawn by the canvas renderer didn’t lose // the Kashida insertion positions. { auto pInputAction = aInputMetaFile.GetAction(aInputMetaFile.GetActionSize() - 1);