include/o3tl/sprintf.hxx | 2 +- sc/source/ui/dbgui/csvgrid.cxx | 2 +- sw/inc/fmtmeta.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit cfd49dc149896925c641181b8d710a32d8ebc2da Author: Andrea Gelmini <[email protected]> AuthorDate: Mon Nov 7 13:28:29 2022 +0100 Commit: Julien Nabet <[email protected]> CommitDate: Mon Nov 7 14:33:51 2022 +0100 Fix typos Change-Id: Ie5df0153446e6af1c717c74dba722ac2aea2b738 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142379 Tested-by: Julien Nabet <[email protected]> Reviewed-by: Julien Nabet <[email protected]> diff --git a/include/o3tl/sprintf.hxx b/include/o3tl/sprintf.hxx index 6491f4ad14d6..373fff744c91 100644 --- a/include/o3tl/sprintf.hxx +++ b/include/o3tl/sprintf.hxx @@ -22,7 +22,7 @@ namespace o3tl { // A drop-in replacement for safe uses of std::sprintf where it is statically known that the // provided buffer is large enough. Compared to a plain use of std::sprintf, using o3tl::sprintf -// for one makes it explicit that the call is considerd safe and for another avoids deprecation +// for one makes it explicit that the call is considered safe and for another avoids deprecation // warnings on platforms like the macOS 13 SDK that mark std::sprintf as deprecated. Many simple // uses of std::sprintf across the code base can be replaced with alternative code using e.g. // OString::number. This is for the remaining formatting-rich cases for which there is no easy diff --git a/sc/source/ui/dbgui/csvgrid.cxx b/sc/source/ui/dbgui/csvgrid.cxx index 27d76e2ac30b..b44cca04dee7 100644 --- a/sc/source/ui/dbgui/csvgrid.cxx +++ b/sc/source/ui/dbgui/csvgrid.cxx @@ -252,7 +252,7 @@ void ScCsvGrid::InitColors() maAppBackColor = mpColorConfig->GetColorValue( ::svtools::APPBACKGROUND ).nColor; maTextColor = mpColorConfig->GetColorValue( ::svtools::FONTCOLOR, false ).nColor; - // tdf#147386 If Automatic font color is used, then check backgroud color and use Black/White as font color + // tdf#147386 If Automatic font color is used, then check background color and use Black/White as font color if ( maTextColor == COL_AUTO ) { if ( maBackColor.IsDark() ) commit deba3bdc70bae4297b26f67a2d5581a9f822debf Author: Miklos Vajna <[email protected]> AuthorDate: Mon Nov 7 11:16:26 2022 +0100 Commit: Miklos Vajna <[email protected]> CommitDate: Mon Nov 7 14:33:12 2022 +0100 sw: make fmtmeta.hxx self-contained sw/inc/fmtmeta.hxx:134:5: error: use of undeclared identifier 'unotools' unotools::WeakReference<SwXMeta> m_wXMeta; ^ Change-Id: Ia022e96789edcc8b9e589175dc32c6fcea83b119 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142369 Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Jenkins diff --git a/sw/inc/fmtmeta.hxx b/sw/inc/fmtmeta.hxx index ac94d120008d..6fba3bac2aa5 100644 --- a/sw/inc/fmtmeta.hxx +++ b/sw/inc/fmtmeta.hxx @@ -22,7 +22,7 @@ #include "calbck.hxx" -#include <cppuhelper/weakref.hxx> +#include <unotools/weakref.hxx> #include <svl/poolitem.hxx> #include <sfx2/Metadatable.hxx>
