From b470d6a0bdba3fdebb28f5c5fe04def12c1c700f Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 22 Aug 2026 12:41:39 +0200 Subject: [PATCH] Fix typos Change-Id: I6c0036771b9dd7e68652dce2e1182d93068fa0b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209421 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- svx/source/fmcomp/fmgridif.cxx | 2 +- svx/source/form/filtnav.cxx | 2 +- svx/source/form/fmshell.cxx | 2 +- svx/source/form/fmshimp.cxx | 4 ++-- svx/source/sdr/contact/viewcontactofe3dscene.cxx | 2 +- svx/source/sdr/contact/viewobjectcontact.cxx | 2 +- svx/source/svdraw/sdrpagewindow.cxx | 2 +- svx/source/svdraw/svdcrtv.cxx | 2 +- svx/source/svdraw/svdedxv.cxx | 2 +- svx/source/svdraw/svdotext.cxx | 2 +- svx/source/svdraw/svdpdf.cxx | 2 +- svx/source/tbxctrls/tbcontrl.cxx | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 4399d5452ad6..ee50607f89b2 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -2024,7 +2024,7 @@ void FmXGridPeer::dispose() // ask for its successor Reference< XDispatchProvider > xSlave = xInterceptor->getSlaveDispatchProvider(); - // and give it the new (means no) successoert + // and give it the new (means no) successor xInterceptor->setSlaveDispatchProvider( nullptr ); // start over with the next chain element diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index bb470b810d8f..e857496dd503 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -1135,7 +1135,7 @@ IMPL_LINK(FmFilterNavigator, EditedEntryHdl, const weld::TreeView::IterColText&, OUString aText(comphelper::string::strip(rNewText, ' ')); if (aText.isEmpty()) { - // deleting the entry asynchron + // deleting the entry asynchronously m_nAsyncRemoveEvent = Application::PostUserEvent(LINK(this, FmFilterNavigator, OnRemove), pData); } else diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index e7e682c69218..408e8347634e 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -473,7 +473,7 @@ void FmFormShell::Execute(SfxRequest &rReq) if ( rReq.GetModifier() & KEY_MOD1 ) { // #99013# if selected with control key, return focus to current view - // do this asynchron, so that the creation can be finished first + // do this asynchronously, so that the creation can be finished first // reusing the SID_FM_TOGGLECONTROLFOCUS is somewhat hacky... which it wouldn't if it would have another // name, so I do not really have a big problem with this... SfxBoolItem aGrabFocusIndicatorItem( SID_FM_TOGGLECONTROLFOCUS, true ); diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index c870e4a9dc01..e8693d2252cb 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -789,7 +789,7 @@ void SAL_CALL FmXFormShell::propertyChange(const PropertyChangeEvent& evt) } else { - // with the following the slot is invalidated asynchron + // with the following the slot is invalidated asynchronously LockSlotInvalidation_Lock(true); InvalidateSlot_Lock(SID_FM_RECORD_TOTAL, false); LockSlotInvalidation_Lock(false); @@ -2778,7 +2778,7 @@ void FmXFormShell::SetDesignMode_Lock(bool bDesign) { // The UIFeatureChanged performs an update (a check of the available features) asynchronously. // So we can't call ShowSelectionProperties directly as the according feature isn't enabled yet. - // That's why we use an asynchron execution on the dispatcher. + // That's why we use an asynchronous execution on the dispatcher. // (And that's why this has to be done AFTER the UIFeatureChanged.) m_pShell->GetViewShell()->GetViewFrame().GetDispatcher()->Execute( SID_FM_SHOW_PROPERTY_BROWSER, SfxCallMode::ASYNCHRON ); } diff --git a/svx/source/sdr/contact/viewcontactofe3dscene.cxx b/svx/source/sdr/contact/viewcontactofe3dscene.cxx index b76760e35628..a789dac95e14 100644 --- a/svx/source/sdr/contact/viewcontactofe3dscene.cxx +++ b/svx/source/sdr/contact/viewcontactofe3dscene.cxx @@ -68,7 +68,7 @@ void createSubPrimitive3DVector( bTestSelectedVisibility); } - // create transform primitive for the created content combining content and transformtion + // create transform primitive for the created content combining content and transformation const drawinglayer::primitive3d::Primitive3DReference xReference(new drawinglayer::primitive3d::TransformPrimitive3D( pViewContactOfE3dScene->GetE3dScene().GetTransform(), aNewAllTarget)); diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx index 9d814c5038b8..58411ffdf36d 100644 --- a/svx/source/sdr/contact/viewobjectcontact.cxx +++ b/svx/source/sdr/contact/viewobjectcontact.cxx @@ -181,7 +181,7 @@ ViewObjectContact::~ViewObjectContact() // which (depending of its implementation) may destroy other OCs. This // can trigger the deletion of the helper OC of a page visualising object // which IS the OC of this object. Eventually StopGettingViewed() needs - // to get asynchron later + // to get asynchronously later GetObjectContact().RemoveViewObjectContact(*this); // take care of remembered ViewContact diff --git a/svx/source/svdraw/sdrpagewindow.cxx b/svx/source/svdraw/sdrpagewindow.cxx index 51898101a2c3..82ce4e4b5e9e 100644 --- a/svx/source/svdraw/sdrpagewindow.cxx +++ b/svx/source/svdraw/sdrpagewindow.cxx @@ -48,7 +48,7 @@ struct SdrPageWindow::Impl SdrPageView& mrPageView; // the PaintWindow to paint on. Here is access to OutDev etc. - // #i72752# change to pointer to allow patcing it in DrawLayer() if necessary + // #i72752# change to pointer to allow patching it in DrawLayer() if necessary SdrPaintWindow* mpPaintWindow; SdrPaintWindow* mpOriginalPaintWindow; diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx index 22c6fe69cced..d550b43bb3b6 100644 --- a/svx/source/svdraw/svdcrtv.cxx +++ b/svx/source/svdraw/svdcrtv.cxx @@ -637,7 +637,7 @@ bool SdrCreateView::EndCreateObj(SdrCreateCmd eCmd) // model coordinates. If we have e.g. a GirdOffset, this is a // little bit tricky - we have an object in model coordinates, // so the fetched offset is at the wrong point in principle - // since we need to 'substract' the offset here to get to + // since we need to 'subtract' the offset here to get to // 'real' model coordinates. But we have nothing better here, // so go for it. // The 2nd a little tricky thing is that this will early-create diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index c547b6e70ed1..421f6ee4abe7 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -869,7 +869,7 @@ void SdrObjEditView::EditViewInvalidate(const tools::Rectangle&) } // callback from the active EditView, forward to evtl. existing instances of the -// TextEditOverlayObject(s). This cvall *only* updates the selection visualization +// TextEditOverlayObject(s). This call *only* updates the selection visualization // which is e.g. used when only the selection is changed, but not the text void SdrObjEditView::EditViewSelectionChange() { diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index a162b5c03f0b..03715ef1e44b 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -1620,7 +1620,7 @@ void SdrTextObj::TRSetBaseGeometry(const basegfx::B2DHomMatrix& rMatrix, const b GeoStat aGeoStat; // #i78696# - // fRotate is matematically correct, but aGeoStat.nRotationAngle is + // fRotate is mathematically correct, but aGeoStat.nRotationAngle is // mirrored -> mirror value here aGeoStat.m_nRotationAngle = NormAngle36000(Degree100(basegfx::fround(-basegfx::rad2deg<100>(fRotate)))); aGeoStat.RecalcSinCos(); diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx index 2fa0f465067d..32979ce9f9df 100644 --- a/svx/source/svdraw/svdpdf.cxx +++ b/svx/source/svdraw/svdpdf.cxx @@ -1411,7 +1411,7 @@ static void buildCMapAndFeatures(const OUString& CMapUrl, SvFileStream& Features if (usedCodes.insert(sChars).second == false) { // This can happen with e.g. unicode '1' mapped to from two variants of that glyph, - // in the absense of a better idea, prefer the first one seen + // in the absence of a better idea, prefer the first one seen SAL_INFO("sd.filter", "code: " << sChars << " for glyph " << nGlyphIndex << " already used earlier"); continue; diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 181f70f3fc47..4d288ccb001e 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1763,7 +1763,7 @@ bool SvxFontNameBox_Base::CheckFontIsAvailable(std::u16string_view fontname) void SvxFontNameBox_Base::CheckAndMarkUnknownFont() { - if (mbCheckingUnknownFont) //tdf#117537 block rentry + if (mbCheckingUnknownFont) //tdf#117537 block reentry return; mbCheckingUnknownFont = true; OUString fontname = m_xWidget->get_active_text();