From 472eb960257f64b8fbcfef20ec8b88e4192cb0f6 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 8 Sep 2026 22:27:43 +0200 Subject: [PATCH] Fix typos Change-Id: Ia570d150a1dfe11492379894704e7d2d1fc3542c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210049 Tested-by: Julien Nabet Reviewed-by: Julien Nabet --- include/vcl/gfxlink.hxx | 2 +- include/vcl/graphicfilter.hxx | 2 +- lotuswordpro/inc/xfilter/xfparastyle.hxx | 22 +++++++++++----------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx index a58f3f72f824..33b033357ce5 100644 --- a/include/vcl/gfxlink.hxx +++ b/include/vcl/gfxlink.hxx @@ -77,7 +77,7 @@ private: public: GfxLink(); - explicit GfxLink(BinaryDataContainer aDataConainer, GfxLinkType nType); + explicit GfxLink(BinaryDataContainer aDataContainer, GfxLinkType nType); bool operator==( const GfxLink& ) const; diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx index 6e39e8fe9b8e..9350c08be72d 100644 --- a/include/vcl/graphicfilter.hxx +++ b/include/vcl/graphicfilter.hxx @@ -227,7 +227,7 @@ public: /** @return whether image supports alpha values for translucent colours */ bool IsAlpha() const { return aMetadata.mbIsAlpha; } - /** @return filter number that is needed by the GraphFilter to read this format */ + /** @return filter short name that is needed by GraphicFilter to read this format */ static OUString GetImportFormatShortName( GraphicFileFormat nFormat ); }; diff --git a/lotuswordpro/inc/xfilter/xfparastyle.hxx b/lotuswordpro/inc/xfilter/xfparastyle.hxx index 721389ca0d13..e71870cefa2a 100644 --- a/lotuswordpro/inc/xfilter/xfparastyle.hxx +++ b/lotuswordpro/inc/xfilter/xfparastyle.hxx @@ -56,8 +56,8 @@ /************************************************************************* * @file * Styles for paragraph. - * Styles for paragraph may include many style,include font,indent,margin, - * shadow,line height,and so on. + * Styles for paragraph may include many styles, including font, indent, margin, + * shadow, line height, and so on. ************************************************************************/ #ifndef INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFPARASTYLE_HXX #define INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFPARASTYLE_HXX @@ -114,7 +114,7 @@ public: /** * @descr set the paragraph default font. * @param font object to be set. Font object is deleted by font-factory, so - * don't delete it in the destructure function of para style. + * don't delete it in the destructor function of para style. */ void SetFont(rtl::Reference const & font); @@ -125,14 +125,14 @@ public: /** * @descr Set the indent of the paragraph. This is the indent for - the first line. + * the first line. * @param indent value of the first-line indent. */ void SetIndent(double indent ); /** * @descr Set the padding of the paragraph. This is the distance - between the border and the top of the text. + * between the border and the top of the text. * @param indent value of the padding. */ void SetPadding(double left, double right, double top, double bottom); @@ -140,7 +140,7 @@ public: /** * @descr Set the Margins of the paragraph. * @param -1: don't change. - other: set value. + * other: set value. */ void SetMargins(double left, double right,double top=-1, double bottom=-1); @@ -152,7 +152,7 @@ public: /** * @descr Set the shadow of the paragraph. There are 4 positions, you - can find it in the definition of enumShadowPos. + * can find it in the definition of enumShadowPos. * @param pos * @param offset the distance between the paragraph border and the shadow. * @param color color to fill the shadow. @@ -161,8 +161,8 @@ public: /** * @descr The borders is complex, so you have to create one before use. - Very few paragraphs will already have borders property, this way - we can save much memory. + * Very few paragraphs will already have borders property, this way + * we can save much memory. * @param pBorders borders of the paragraph, please reference the XFBorders. */ void SetBorders(XFBorders *pBorders); @@ -189,12 +189,12 @@ public: /** * @descr Set background image of the paragraph. - * @param image the background image to set. + * @param rImage the background image to set. */ void SetBackImage(std::unique_ptr& rImage); /** - * descr You can only set one break property for every para style object. + * @descr You can only set one break property for every para style object. */ void SetBreaks(enumXFBreaks breaks);