From e95334a66ea65f259cff4ec463aae7260db77180 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 28 Mar 2026 17:25:07 +0100 Subject: [PATCH] Fix typo "then"->"than" Change-Id: Ic8a5797b0196f36288bf0af984dd074a2a443198 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202919 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- toolkit/test/accessibility/AccessibilityTreeModel.java | 2 +- unotools/source/config/configitem.cxx | 2 +- vcl/osx/salnativewidgets.cxx | 2 +- vcl/skia/gdiimpl.cxx | 2 +- vcl/source/window/accel.cxx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/toolkit/test/accessibility/AccessibilityTreeModel.java b/toolkit/test/accessibility/AccessibilityTreeModel.java index b021746bc2e1..544151607d6e 100644 --- a/toolkit/test/accessibility/AccessibilityTreeModel.java +++ b/toolkit/test/accessibility/AccessibilityTreeModel.java @@ -464,7 +464,7 @@ public class AccessibilityTreeModel // Map to translate from accessible object to corresponding tree node. private final NodeMap maNodeMap; - // If the lock count is higher then zero, then no events are processed. + // If the lock count is higher than zero, then no events are processed. private int mnLockCount; private Canvas maCanvas; diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index 017f4b747d20..cb552361de99 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -250,7 +250,7 @@ static void impl_unpackLocalizedProperties( const Sequence< OUString >& l // => I think we should make it fast for i). ii) is a special case and mustn't be SOOOO... fast. // We should reserve same space for output list like input ones first. // Follow algorithm looks for these borders and change it for ii) only! - // It will be faster then a "realloc()" call in every loop ... + // It will be faster than a "realloc()" call in every loop ... nSourceSize = lInNames.getLength(); lOutNames.realloc ( nSourceSize ); diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx index c8f73c723d50..1aae8e789f8c 100644 --- a/vcl/osx/salnativewidgets.cxx +++ b/vcl/osx/salnativewidgets.cxx @@ -55,7 +55,7 @@ // API calls, all widgets are drawn without text. Drawing of text is done separately by VCL on top of graphical Carbon widget // representation. drawNativeControl is called by VCL using content rectangle determined by getNativeControlRegion. -// FIXME: when calculation bounding rectangle larger then content rectangle, text displayed by VCL will become misaligned. To avoid +// FIXME: when calculation bounding rectangle larger than content rectangle, text displayed by VCL will become misaligned. To avoid // misalignment bounding rectangle and content rectangle are calculated equally including adornments. Reduction of size for content // is done by drawNativeControl subsequently. Only exception is editbox: As other widgets have distinct ControlPart::SubEdit control // parts, editbox bounding rectangle and content rectangle are both calculated to reflect content area. Extending size for diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx index 9437ea35bd32..ad92dbdcb380 100644 --- a/vcl/skia/gdiimpl.cxx +++ b/vcl/skia/gdiimpl.cxx @@ -1603,7 +1603,7 @@ sk_sp SkiaSalGraphicsImpl::mergeCacheBitmaps(const SkiaSalBitmap& bitma if (targetSize.Width() > drawAreaSize.Width() || targetSize.Height() > drawAreaSize.Height()) { // This is a bit tricky. The condition above just checks that at least a part of the resulting - // image will not be used (it's larger then our drawing area). But this may often happen + // image will not be used (it's larger than our drawing area). But this may often happen // when just scrolling a document with a large image, where the caching may very well be worth it. // Since the problem is mainly the cost of upscaling and then the size of the resulting bitmap, // compute a ratio of how much this is going to be scaled up, how much this is larger than diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx index a20c289f201a..8bbb6f69083f 100644 --- a/vcl/source/window/accel.cxx +++ b/vcl/source/window/accel.cxx @@ -32,7 +32,7 @@ static sal_uInt16 ImplAccelEntryGetIndex( const ImplAccelList* pList, sal_uInt16 size_t nCount = pList->size(); sal_uInt16 nCompareId; - // check if first key is larger then the key to compare + // check if first key is larger than the key to compare if ( !nCount || (nId < (*pList)[ 0 ]->mnId) ) { if ( pIndex )