From 8acc72d8c2b9d051d927560a210352e6c5b79ece Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 24 Aug 2026 22:02:31 +0200 Subject: [PATCH] Fix typos Change-Id: I1a3aa6e77a31e1d60bfaf98006799657f91bcb1d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209890 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- cppcanvas/source/mtfrenderer/implrenderer.cxx | 4 ++-- cppuhelper/source/interfacecontainer.cxx | 2 +- cpputools/source/sp2bv/sp2bv.cxx | 2 +- cui/source/customize/SvxConfigPageHelper.cxx | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 0ecf4c766c18..d3214c990438 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -797,8 +797,8 @@ namespace cppcanvas::internal } // #i52608# apply map mode scale also to font matrix - an - // anisotrophic mapmode must be reflected in an - // anisotrophic font matrix scale. + // anisotropic mapmode must be reflected in an + // anisotropic font matrix scale. const OutDevState& rState( rParms.mrStates.getState() ); if( !::basegfx::fTools::equal( rState.mapModeTransform.get(0,0), diff --git a/cppuhelper/source/interfacecontainer.cxx b/cppuhelper/source/interfacecontainer.cxx index c97a8ba9908c..c3c084d07f35 100644 --- a/cppuhelper/source/interfacecontainer.cxx +++ b/cppuhelper/source/interfacecontainer.cxx @@ -93,7 +93,7 @@ XInterface * OInterfaceIteratorHelper::next() { nRemain--; if( bIsList ) - // typecase to const,so the getArray method is faster + // typecast to const,so the getArray method is faster return (*aData.pAsVector)[nRemain].get(); if( aData.pAsInterface ) return aData.pAsInterface; diff --git a/cpputools/source/sp2bv/sp2bv.cxx b/cpputools/source/sp2bv/sp2bv.cxx index 3c2329c7a5f1..651b0b2e99e7 100644 --- a/cpputools/source/sp2bv/sp2bv.cxx +++ b/cpputools/source/sp2bv/sp2bv.cxx @@ -81,7 +81,7 @@ int main(int argc, char **argv) break; case '{': case '}': - case '\\': fprintf(stderr, "sp2vb: file URL contains invalid characters!\n"); + case '\\': fprintf(stderr, "sp2bv: file URL contains invalid characters!\n"); return -1; default: rtl_uStringbuffer_insert( &pBuffer, &nCapacity, pBuffer->length, pCur, 1); diff --git a/cui/source/customize/SvxConfigPageHelper.cxx b/cui/source/customize/SvxConfigPageHelper.cxx index 522dfd3eb721..3df56381e217 100644 --- a/cui/source/customize/SvxConfigPageHelper.cxx +++ b/cui/source/customize/SvxConfigPageHelper.cxx @@ -151,7 +151,7 @@ OUString SvxConfigPageHelper::generateCustomMenuURL(SvxEntries* entries, sal_Int if (!entries) return url; - // now check is there is an already existing entry with this url + // now check if there is an already existing entry with this url bool bFoundEntry = false; for (auto const& entry : *entries) { @@ -182,7 +182,7 @@ OUString SvxConfigPageHelper::generateCustomURL(SvxEntries* entries) // use a random number to minimize possible clash with existing custom toolbars OUString::number(generateRandomValue(), 16); - // now check is there is an already existing entry with this url + // now check if there is an already existing entry with this url bool bFoundEntry = false; for (auto const& entry : *entries) {