From 916c90bf842ef41c9c65acdc88e0de41f37b4e73 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 22 Aug 2026 13:08:09 +0200 Subject: [PATCH] Fix typos Change-Id: Ieb739f810a3e21d99f9374c8284ccfe977d77b78 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209492 Tested-by: Julien Nabet Reviewed-by: Julien Nabet --- sw/source/filter/ww8/rtfexport.hxx | 2 +- sw/source/filter/ww8/writerwordglue.hxx | 2 +- sw/source/filter/ww8/wrtww8.hxx | 4 ++-- sw/source/filter/xml/xmlimpit.hxx | 2 +- sw/source/filter/xml/xmltbli.cxx | 4 ++-- sw/source/ui/chrdlg/pardlg.cxx | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx index 87fd0945235f..9febf87c0419 100644 --- a/sw/source/filter/ww8/rtfexport.hxx +++ b/sw/source/filter/ww8/rtfexport.hxx @@ -50,7 +50,7 @@ public: /// Access to the attribute output class. AttributeOutputBase& AttrOutput() const override; - /// Access to the sections/headers/footres. + /// Access to the sections/headers/footers. MSWordSections& Sections() const override; /// Access to the Rtf Sdr exporter. diff --git a/sw/source/filter/ww8/writerwordglue.hxx b/sw/source/filter/ww8/writerwordglue.hxx index a6714e97276f..de5872452a06 100644 --- a/sw/source/filter/ww8/writerwordglue.hxx +++ b/sw/source/filter/ww8/writerwordglue.hxx @@ -60,7 +60,7 @@ namespace sw There are a number of places where the writer types are larger than the winword equivalents requiring a cast to silence warnings. To avoid throwing away this useful information writer_cast is used to - identify where word's types are smaller than writers's. + identify where word's types are smaller than Writer's. Based on needed_cast it will compile time assert if the cast becomes unnecessary at any time in the future. diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx index 792089ad2999..f67089a52bd8 100644 --- a/sw/source/filter/ww8/wrtww8.hxx +++ b/sw/source/filter/ww8/wrtww8.hxx @@ -681,7 +681,7 @@ public: /// Access to the attribute output class. virtual AttributeOutputBase& AttrOutput() const = 0; - /// Access to the sections/headers/footres. + /// Access to the sections/headers/footers. virtual MSWordSections& Sections() const = 0; /// Determines if the import filter already quoted fields or not. @@ -1038,7 +1038,7 @@ public: /// Access to the attribute output class. virtual AttributeOutputBase& AttrOutput() const override; - /// Access to the sections/headers/footres. + /// Access to the sections/headers/footers. virtual MSWordSections& Sections() const override; virtual bool PreferPageBreakBefore() const override { return true; } diff --git a/sw/source/filter/xml/xmlimpit.hxx b/sw/source/filter/xml/xmlimpit.hxx index 18b41210e41d..f9a4f5a67cd4 100644 --- a/sw/source/filter/xml/xmlimpit.hxx +++ b/sw/source/filter/xml/xmlimpit.hxx @@ -58,7 +58,7 @@ public: const SvXMLUnitConverter& rUnitConverter, const SvXMLNamespaceMap& rNamespaceMap ); - /** This method is called when all attributes have benn processed. It + /** This method is called when all attributes have been processed. It * may be used to remove items that are incomplete */ virtual void finished(SfxItemSet & rSet, SvXMLUnitConverter const& rUnitConverter) const; diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index f592ed21c2b2..050020c3de80 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -2320,11 +2320,11 @@ void SwXMLTableContext::MakeTable_( SwTableBox *pBox ) m_nWidth > nAbsWidth ? m_nWidth - nAbsWidth : sal_Int32(0L); // The relative width that has to be distributed in addition to - // equally widthed columns. + // equal-width columns. sal_Int32 nExtraRel = nRelWidth - (nRelCols * nMinRelColWidth); // The absolute space that may be distributed in addition to - // minimum widthed columns. + // minimum-width columns. sal_Int32 nMinAbs = nRelCols * MINLAY; sal_Int32 nExtraAbs = nAbsForRelWidth > nMinAbs ? nAbsForRelWidth - nMinAbs : sal_Int32(0L); diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx index 68a576c5987f..c4835a215cc6 100644 --- a/sw/source/ui/chrdlg/pardlg.cxx +++ b/sw/source/ui/chrdlg/pardlg.cxx @@ -231,7 +231,7 @@ void SwParaDlg::PageCreated(const OUString& rId, SfxTabPage& rPage) rBox.append_text(rName); } // inits for Area and Transparency TabPages - // The selection attribute lists (XPropertyList derivates, e.g. XColorList for + // The selection attribute lists (XPropertyList subclasses, e.g. XColorList for // the color table) need to be added as items (e.g. SvxColorTableItem) to make // these pages find the needed attributes for fill style suggestions. // These are added in SwDocStyleSheet::GetItemSet() for the SfxStyleFamily::Para on