From bfc5912fbb4714e547bfb9924f7dd1cecc98eafd Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 24 Aug 2026 23:00:21 +0200 Subject: [PATCH] Fix typos Change-Id: I6fe3f626864db63b1c5ce8af9598730057a9d0eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209943 Tested-by: Julien Nabet Reviewed-by: Julien Nabet --- include/cppuhelper/proptypehlp.h | 2 +- include/osl/detail/component-mapping.h | 8 ++++---- include/osl/doublecheckedlocking.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/cppuhelper/proptypehlp.h b/include/cppuhelper/proptypehlp.h index 348e45afbc15..35f999d7859f 100644 --- a/include/cppuhelper/proptypehlp.h +++ b/include/cppuhelper/proptypehlp.h @@ -32,7 +32,7 @@ namespace cppu { /** Converts the value stored in an any to a concrete C++ type. The function does the same as the operator >>= () at the Any class, except that it throws an IllegalArgumentException in case of - failures (the value cannot be extracted without data loss ) + failures (the value cannot be extracted without data loss) @exception css::lang::IllegalArgumentException when the type could not be converted. */ diff --git a/include/osl/detail/component-mapping.h b/include/osl/detail/component-mapping.h index 64c967019ba0..9c09ce6a0f9f 100644 --- a/include/osl/detail/component-mapping.h +++ b/include/osl/detail/component-mapping.h @@ -18,10 +18,10 @@ extern "C" { /* On iOS and perhaps Android static linking of the LO code into one * executable (on Android, into one shared library) is used. In order to get - * the needed UNO component linked in, the "main" code for an app needs to - * implement the lo_get_libmap() function to map UNO component library names - * as produced in a build for iOS (like configmgr.uno.a or libsclo.a) to the - * corresponding component_getFactory functions. + * the needed UNO components linked in, the "main" code for an app needs to + * implement the lo_get_factory_map() and lo_get_constructor_map() functions + * to map UNO component library names as produced in a build for iOS (like + * configmgr.uno.a or libsclo.a) to the corresponding component_getFactory functions. */ typedef struct { diff --git a/include/osl/doublecheckedlocking.h b/include/osl/doublecheckedlocking.h index f89ab362055b..e00e788910bd 100644 --- a/include/osl/doublecheckedlocking.h +++ b/include/osl/doublecheckedlocking.h @@ -39,7 +39,7 @@ extern "C" { empty. This is a macro instead of a (C++ inline) function to allow for maximum performance in both C and C++. - If possible, use the rtl_Instance template instead of explicitly spelling + If possible, use the rtl::Instance template instead of explicitly spelling out the double-checked locking pattern. There are few cases where you will have to spell it out explicitly (e.g., the logic of a certain instance of the pattern is too complex to be mapped to the template, or