From 73bad1555318b47a7f0222ca11c9b1dcfa2734b4 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 28 Aug 2026 00:10:34 +0200 Subject: [PATCH] Fix typos Change-Id: Ia92e533b8753709937e87c94ada04a3e3064ea90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210191 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- sfx2/source/doc/printhelper.cxx | 4 ++-- sfx2/source/view/viewsh.cxx | 2 +- slideshow/source/engine/transitions/clippingfunctor.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index 934ec4ffc3b0..143282584026 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -619,7 +619,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& { // it's a local file, we can use vcl without special handling // And we have to use the system notation of the incoming URL. - // But it into the descriptor and let the slot be executed at + // Put it into the descriptor and let the slot be executed at // the end of this method. pCheckedArgs[nProps].Name = rProp.Name; pCheckedArgs[nProps++].Value <<= sTemp; @@ -634,7 +634,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& // it's a ucb target. So we must use a temp. file for vcl // and move it after printing by using the ucb. // Create a temp file on the heap (because it must delete the - // real file on disk automatically if it die - bt we have to share it with + // real file on disk automatically if it dies - but we have to share it with // some other sources ... e.g. the ImplUCBPrintWatcher). // And we put the name of this temp file to the descriptor instead // of the URL. The URL we save for later using separately. diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index cb9fc5847bcb..04f25399a8fe 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -428,7 +428,7 @@ void lookForParentTable(const uno::Reference& OUString truncateText(std::u16string_view sText, sal_Int32 nNewLength) { - // truncate test to given length + // truncate text to given length std::u16string_view sNewText = sText.substr(0, nNewLength); // try to truncate at a word size_t nLastPos = sNewText.rfind(u" "); diff --git a/slideshow/source/engine/transitions/clippingfunctor.cxx b/slideshow/source/engine/transitions/clippingfunctor.cxx index 0cd67c4944c8..315f5d91cd6c 100644 --- a/slideshow/source/engine/transitions/clippingfunctor.cxx +++ b/slideshow/source/engine/transitions/clippingfunctor.cxx @@ -176,7 +176,7 @@ namespace slideshow::internal } else { - // when not completely inside aBackgroundRange clipping is needed + // when not completely inside aBackgroundRange, clipping is needed // subtract aClipPoly from aBackgroundRange const basegfx::B2DPolyPolygon aBackgroundPolyPoly(basegfx::utils::createPolygonFromRect(aBackgroundRange)); aClipPoly = basegfx::utils::solvePolygonOperationDiff(aBackgroundPolyPoly, aClipPoly);