From bfb4b0059f44966a2a4ab17ffab47cf98b6f208b Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Wed, 2 Sep 2026 21:46:16 +0200 Subject: [PATCH] Fix typos Change-Id: I570d70b3307a7a65dacbc4177ef004763f1e8b9b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210447 Tested-by: Jenkins Reviewed-by: Julien Nabet --- include/uno/sequence2.h | 2 +- include/unotools/accessiblerelationsethelper.hxx | 2 +- include/vcl/BitmapTools.hxx | 4 ++-- include/vcl/abstdlg.hxx | 2 +- include/vcl/filter/pdfdocument.hxx | 4 ++-- include/vcl/filter/pdfobjectcontainer.hxx | 2 +- include/vcl/salnativewidgets.hxx | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/uno/sequence2.h b/include/uno/sequence2.h index 6ea2dab00387..7d2df662f2ad 100644 --- a/include/uno/sequence2.h +++ b/include/uno/sequence2.h @@ -180,7 +180,7 @@ CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_sequence_realloc( @param sequence must be non-null, sequence->nRefCount must be zero @param type the type of the sequence, must be non-null - @param release function called each time an interface needs to be release, + @param release function called each time an interface needs to be released, must be non-null @since LibreOffice 4.4 diff --git a/include/unotools/accessiblerelationsethelper.hxx b/include/unotools/accessiblerelationsethelper.hxx index b9e513174cc8..f2737b5b5dda 100644 --- a/include/unotools/accessiblerelationsethelper.hxx +++ b/include/unotools/accessiblerelationsethelper.hxx @@ -94,7 +94,7 @@ public: The type of the relation to return. @return - If a relation with the given type could be found than (a copy + If a relation with the given type could be found then (a copy of) this relation is returned. Otherwise a relation with the type INVALID is returned. */ diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx index a8ce5722b4e8..21687e86bf47 100644 --- a/include/vcl/BitmapTools.hxx +++ b/include/vcl/BitmapTools.hxx @@ -48,7 +48,7 @@ VCL_DLLPUBLIC lookup_table const & get_unpremultiply_table(); VCL_DLLPUBLIC sal_uInt8 unpremultiply(sal_uInt8 c, sal_uInt8 a); VCL_DLLPUBLIC sal_uInt8 premultiply(sal_uInt8 c, sal_uInt8 a); -/** Byte offsets channels within a 4-byte pixel. */ +/** Byte offsets of channels within a 4-byte pixel. */ struct ScanlineChannelOffsets { sal_uInt8 nBlue; @@ -112,7 +112,7 @@ VCL_DLLPUBLIC void DrawAndClipBitmap(const Point& rPos, const Size& rSize, const VCL_DLLPUBLIC css::uno::Sequence< sal_Int8 > GetMaskDIB(Bitmap const & aBmp); /** - * @param data will be filled with alpha data, if xBitmap is alpha/transparent image + * @param data will be filled with alpha data, if rBitmap is an alpha/transparent image * @param bHasAlpha will be set to true if resulting surface has alpha **/ VCL_DLLPUBLIC void CanvasCairoExtractBitmapData( Bitmap const & rBitmap, unsigned char*& data, bool& bHasAlpha, tools::Long& rnWidth, tools::Long& rnHeight ); diff --git a/include/vcl/abstdlg.hxx b/include/vcl/abstdlg.hxx index 8c96979fbc96..07aaff8c612b 100644 --- a/include/vcl/abstdlg.hxx +++ b/include/vcl/abstdlg.hxx @@ -43,7 +43,7 @@ namespace weld /** * Some things multiple-inherit from VclAbstractDialog and OutputDevice, -* so we need to use virtual inheritance to keep the referencing counting +* so we need to use virtual inheritance to keep the reference counting * OK. */ class VCL_DLLPUBLIC VclAbstractDialog : public virtual VclReferenceBase diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx index 45a135378b46..383416218f91 100644 --- a/include/vcl/filter/pdfdocument.hxx +++ b/include/vcl/filter/pdfdocument.hxx @@ -231,7 +231,7 @@ public: } }; -/// Dictionary object: a set key-value pairs. +/// Dictionary object: a set of key-value pairs. class VCL_DLLPUBLIC PDFDictionaryElement final : public PDFElement { /// Key-value pairs when the dictionary is a nested value. @@ -313,7 +313,7 @@ class XRefEntry * stored. */ sal_uInt64 m_nOffset = 0; - /// Are changed as part of an incremental update?. + /// Changed as part of an incremental update. bool m_bDirty = false; public: diff --git a/include/vcl/filter/pdfobjectcontainer.hxx b/include/vcl/filter/pdfobjectcontainer.hxx index 9c3351bdae57..f0e29142e771 100644 --- a/include/vcl/filter/pdfobjectcontainer.hxx +++ b/include/vcl/filter/pdfobjectcontainer.hxx @@ -44,6 +44,6 @@ public: protected: ~PDFObjectContainer() noexcept = default; }; -} +} // namespace vcl /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index ef2ae0c8a334..02addc5d83a2 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -47,7 +47,7 @@ enum class ControlType { Editbox = 30, // Control that allows text entry, but without the usual border // Has to be handled separately, because this one cannot handle -// ControlPart::HasBackgroundTexture, which is drawn in the edit box'es +// ControlPart::HasBackgroundTexture, which is drawn in the edit box's // border window. EditboxNoBorder = 31, // Control that allows text entry @@ -87,7 +87,7 @@ enum class ControlType { MenuPopup = 121, Progress = 131, // Progress bar for the intro window -// (aka splash screen), in case some +// (aka splash screen), in case someone // wants native progress bar in the // application but not for the splash // screen (used in desktop/) @@ -97,7 +97,7 @@ enum class ControlType { Tooltip = 140, // to draw the implemented theme WindowBackground = 150, -//to draw border of frames natively +// to draw border of frames natively Frame = 160, // for nodes in listviews // used in svtools/source/contnr/svtreebx.cxx