From dcc4abb88020f07ee16ecb48edb89dd2b68ac4a4 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 28 Aug 2026 00:10:51 +0200 Subject: [PATCH] Fix typos Change-Id: Ie4170e9a8268508196ffd415e6cc5b9daef466f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210209 Tested-by: Julien Nabet Reviewed-by: Julien Nabet --- sw/source/uibase/uno/unotxdoc.cxx | 6 +++--- tools/qa/cppunit/test_urlobj.cxx | 4 ++-- unoxml/source/events/eventdispatcher.cxx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 7fa65f23a016..11278984bf91 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -2403,7 +2403,7 @@ const rtl::Reference< SwXRedlines > & SwXTextDocument::getSwRedlines( ) void SwXTextDocument::NotifyRefreshListeners() { - // why does SwBaseShell not just call refresh? maybe because it's rSh is + // why does SwBaseShell not just call refresh? maybe because its rSh is // (sometimes) a different shell than GetWrtShell()? lang::EventObject const ev(getXWeak()); std::unique_lock aGuard(m_pImpl->m_Mutex); @@ -2772,7 +2772,7 @@ sal_Int32 SAL_CALL SwXTextDocument::getRendererCount( m_pRenderData->ViewOptionAdjust( pPrtOptions, setShowPlaceHoldersInPDF ); } - // since printing now also use the API for PDF export this option + // since printing now also uses the API for PDF export this option // should be set for printing as well ... pViewShell->SetPDFExportOption( true ); @@ -3231,7 +3231,7 @@ void SAL_CALL SwXTextDocument::render( || (!pSwView && !m_pRenderData->IsViewOptionAdjust()), "SwView / SwViewOptionAdjust_Impl availability mismatch" ); - // since printing now also use the API for PDF export this option + // since printing now also uses the API for PDF export this option // should be set for printing as well ... pVwSh->SetPDFExportOption( true ); diff --git a/tools/qa/cppunit/test_urlobj.cxx b/tools/qa/cppunit/test_urlobj.cxx index f85055ae2e39..c33ab3297188 100644 --- a/tools/qa/cppunit/test_urlobj.cxx +++ b/tools/qa/cppunit/test_urlobj.cxx @@ -432,11 +432,11 @@ namespace tools_urlobj CPPUNIT_TEST( testParseSmart ); CPPUNIT_TEST( testIsExoticProtocol ); CPPUNIT_TEST_SUITE_END( ); - }; // class createPool + }; // class urlobjTest CPPUNIT_TEST_SUITE_REGISTRATION( urlobjTest ); -} // namespace rtl_random +} // namespace tools_urlobj /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/source/events/eventdispatcher.cxx b/unoxml/source/events/eventdispatcher.cxx index 38fbcd0ea428..d8a35de920da 100644 --- a/unoxml/source/events/eventdispatcher.cxx +++ b/unoxml/source/events/eventdispatcher.cxx @@ -211,7 +211,7 @@ namespace DOM::events { // the capture vector now holds the node path from target to root // first we must search for capture listeners in order root to - // to target. after that, any target listeners have to be called + // target. after that, any target listeners have to be called // then bubbling phase listeners are called in target to root // order // start at the root