From 367b700c265cf322228478fe087d66dae9245b77 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 24 Aug 2026 23:00:04 +0200 Subject: [PATCH] Fix typos Change-Id: Ife3358074eafc2a990580887b265f29ebdec4cbd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209935 Tested-by: Julien Nabet Reviewed-by: Julien Nabet --- framework/inc/properties.h | 8 ++++---- framework/inc/protocols.h | 6 +++--- framework/inc/services.h | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/framework/inc/properties.h b/framework/inc/properties.h index cf6a76f11906..22c0b28104d8 100644 --- a/framework/inc/properties.h +++ b/framework/inc/properties.h @@ -24,7 +24,7 @@ namespace framework{ -// Please add new entries alphabetical sorted and correct all other handles! +// Please add new entries alphabetically sorted and correct all other handles! // Start counting with 0, so it can be used as direct index into an array too. enum class FramePropHandle : sal_Int32 { @@ -111,8 +111,8 @@ class PropHelper { public: - /** checks if given property will be changed by this settings. - * We compare the content of the given any values. If they are different we return sal_True - sal_False otherwise. + /** checks if given property will be changed by these settings. + * We compare the content of the given any values. If they are different we return true - false otherwise. * * @param aCurrentValue contains the current value for this property * @param aNewValue contains the new value for this property @@ -133,7 +133,7 @@ class PropHelper aOldValue.clear(); aChangedValue.clear(); - // if value change ... + // if value changed ... bChanged = aCurrentValue != aNewValue; if (bChanged) { diff --git a/framework/inc/protocols.h b/framework/inc/protocols.h index 7ba3d41de394..9fa0cc7e58e5 100644 --- a/framework/inc/protocols.h +++ b/framework/inc/protocols.h @@ -31,7 +31,7 @@ namespace framework{ /** some protocols must be checked during loading or dispatching URLs manually - It can be necessary to decide, if a URL represent a non visible content or + It can be necessary to decide if a URL represents a non-visible content or a real visible component. */ @@ -43,7 +43,7 @@ namespace framework{ #define SPECIALPROTOCOL_PRIVATE_FACTORY u"private:factory" // internal protocol of the sfx project for generic dispatch functionality #define SPECIALPROTOCOL_SLOT u"slot:" -// external representation of the slot protocol using names instead of id's +// external representation of the slot protocol using names instead of IDs #define SPECIALPROTOCOL_UNO u".uno:" // special sfx protocol to execute macros #define SPECIALPROTOCOL_MACRO u"macro:" @@ -73,7 +73,7 @@ class ProtocolCheck public: /** - it checks if given URL match the required protocol only + it checks if a given URL matches the required protocol only It should be used instead of specifyProtocol() if only this question is interesting to perform the code. We must not check for all possible protocols here... */ diff --git a/framework/inc/services.h b/framework/inc/services.h index d758c5225c8d..0d50caa015d2 100644 --- a/framework/inc/services.h +++ b/framework/inc/services.h @@ -23,7 +23,7 @@ namespace framework{ -// used servicenames by framework +// used service names by framework inline constexpr OUString SERVICENAME_FILTERFACTORY = u"com.sun.star.document.FilterFactory"_ustr; inline constexpr OUString SERVICENAME_CFGUPDATEACCESS = u"com.sun.star.configuration.ConfigurationUpdateAccess"_ustr; // provides read/write access to the configuration @@ -32,7 +32,7 @@ inline constexpr OUString SERVICENAME_JOB = u"com.sun.star.task.Job"_ustr; inline constexpr OUString SERVICENAME_PROTOCOLHANDLER = u"com.sun.star.frame.ProtocolHandler"_ustr; inline constexpr OUString SERVICENAME_POPUPMENUCONTROLLER = u"com.sun.star.frame.PopupMenuController"_ustr; -// used implementationnames by framework +// used implementation names by framework #define IMPLEMENTATIONNAME_QUICKLAUNCHER "com.sun.star.comp.desktop.QuickstartWrapper"