From f184f59c8aa86ebd26641718b05deb66f9c07983 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Wed, 26 Aug 2026 23:18:48 +0200 Subject: [PATCH] Fix typos Change-Id: I05edaae7fc13c0fd5685ba55627046491b4446ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210078 Tested-by: Jenkins Reviewed-by: Julien Nabet --- ucb/source/ucp/webdav-curl/DAVTypes.cxx | 1 - unotools/source/accessibility/accessiblerelationsethelper.cxx | 2 +- unotools/source/config/historyoptions.cxx | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.cxx b/ucb/source/ucp/webdav-curl/DAVTypes.cxx index 58cb126dde62..019f6e582c67 100644 --- a/ucb/source/ucp/webdav-curl/DAVTypes.cxx +++ b/ucb/source/ucp/webdav-curl/DAVTypes.cxx @@ -123,7 +123,6 @@ bool DAVOptionsCache::getDAVOptions( const OUString & rURL, DAVOptions & rDAVOpt // if stale, remove from cache, do not restore m_aTheCache.erase( it ); return false; - // return false instead } rDAVOptions = (*it).second; return true; diff --git a/unotools/source/accessibility/accessiblerelationsethelper.cxx b/unotools/source/accessibility/accessiblerelationsethelper.cxx index 72bc491b979b..9dd298f00acd 100644 --- a/unotools/source/accessibility/accessiblerelationsethelper.cxx +++ b/unotools/source/accessibility/accessiblerelationsethelper.cxx @@ -103,7 +103,7 @@ sal_Int32 SAL_CALL /** Tests whether the relation set contains a relation matching the specified key. - @param aRelationType + @param eRelationType The type of relation to look for in this set of relations. This has to be one of the constants of AccessibleRelationType. diff --git a/unotools/source/config/historyoptions.cxx b/unotools/source/config/historyoptions.cxx index c4fd22bc7177..4b856def7ddf 100644 --- a/unotools/source/config/historyoptions.cxx +++ b/unotools/source/config/historyoptions.cxx @@ -402,7 +402,7 @@ void TogglePinItem(EHistoryType eHistory, const OUString& sURL) uno::Reference xOrderList; xListAccess->getByName(s_sOrderList) >>= xOrderList; - // Shift item to the beginning of the document list if is not pinned now + // Shift item to the beginning of the document list if it is not pinned now if (bIsItemPinned) MoveItemToUnpinned(xCfg, xOrderList, xItemList, sURL); else