From 32b95cfb8926262218c672350d007546e127d627 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 1 Sep 2026 23:15:42 +0200 Subject: [PATCH] Fix typos Change-Id: Id56a6aa927accfdeab10c4680a8f7b0f398f282b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210374 Tested-by: Jenkins Reviewed-by: Julien Nabet --- ucb/qa/cppunit/webdav/webdav_local_neon.cxx | 2 +- ucb/qa/cppunit/webdav/webdav_options.cxx | 2 +- ucb/qa/cppunit/webdav/webdav_propfindcache.cxx | 2 +- ucb/qa/cppunit/webdav/webdav_resource_access.cxx | 2 +- ucb/source/ucp/package/pkgcontent.cxx | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ucb/qa/cppunit/webdav/webdav_local_neon.cxx b/ucb/qa/cppunit/webdav/webdav_local_neon.cxx index b24d75c54892..143a52def4ce 100644 --- a/ucb/qa/cppunit/webdav/webdav_local_neon.cxx +++ b/ucb/qa/cppunit/webdav/webdav_local_neon.cxx @@ -36,7 +36,7 @@ namespace void webdav_local_test::WebdavUriTest() { - //try URL decomposition + // try URL decomposition CurlUri aURI(u"http://user%40anothername@server.biz:8040/aService/asegment/nextsegment/check.this?test=true&link=http://anotherserver.com/%3Fcheck=theapplication%26os=linuxintel%26lang=en-US%26version=5.2.0" ); CPPUNIT_ASSERT_EQUAL( u"http"_ustr, aURI.GetScheme() ); CPPUNIT_ASSERT_EQUAL( u"server.biz"_ustr, aURI.GetHost() ); diff --git a/ucb/qa/cppunit/webdav/webdav_options.cxx b/ucb/qa/cppunit/webdav/webdav_options.cxx index f8320201087c..316d305a4945 100644 --- a/ucb/qa/cppunit/webdav/webdav_options.cxx +++ b/ucb/qa/cppunit/webdav/webdav_options.cxx @@ -40,7 +40,7 @@ namespace CPPUNIT_TEST( DAVTypesTest ); CPPUNIT_TEST( DAVOptsCacheTests ); CPPUNIT_TEST_SUITE_END(); - }; // class webdav_local_test + }; // class webdav_opts_test // initialise your test code values here. void webdav_opts_test::setUp() diff --git a/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx b/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx index f70a13f504b3..c06fa557411b 100644 --- a/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx +++ b/ucb/qa/cppunit/webdav/webdav_propfindcache.cxx @@ -38,7 +38,7 @@ namespace CPPUNIT_TEST( PropfindCacheElemTests ); CPPUNIT_TEST( PropfindCacheTests ); CPPUNIT_TEST_SUITE_END(); - }; // class webdav_local_test + }; // class webdav_propcache_test // initialise your test code values here. void webdav_propcache_test::setUp() diff --git a/ucb/qa/cppunit/webdav/webdav_resource_access.cxx b/ucb/qa/cppunit/webdav/webdav_resource_access.cxx index f96c87b9cf71..d4d46f69746f 100644 --- a/ucb/qa/cppunit/webdav/webdav_resource_access.cxx +++ b/ucb/qa/cppunit/webdav/webdav_resource_access.cxx @@ -37,7 +37,7 @@ namespace CPPUNIT_TEST_SUITE( webdav_resource_access_test ); CPPUNIT_TEST( DAVCheckRetries ); CPPUNIT_TEST_SUITE_END(); - }; // class webdav_local_test + }; // class webdav_resource_access_test // initialise your test code values here. void webdav_resource_access_test::setUp() diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx index 43bd800b94c5..b5eaa56b3512 100644 --- a/ucb/source/ucp/package/pkgcontent.cxx +++ b/ucb/source/ucp/package/pkgcontent.cxx @@ -1278,7 +1278,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues( // Do not set new title! aNewTitle.clear(); - // Set error . + // Set error. aRetRange[ nTitlePos ] <<= uno::Exception( u"Exchange failed!"_ustr, getXWeak() ); @@ -1718,7 +1718,7 @@ void Content::transfer( uno::Reference< ucb::XContentIdentifier > xId = new ::ucbhelper::ContentIdentifier( rInfo.SourceURL ); - // Note: The static cast is okay here, because its sure that + // Note: The static cast is okay here, because it is sure that // m_xProvider is always the PackageContentProvider. rtl::Reference< Content > xSource; @@ -1757,7 +1757,7 @@ void Content::transfer( : getContentType( m_aUri.getScheme(), false ); aContentInfo.Attributes = 0; - // Note: The static cast is okay here, because its sure that + // Note: The static cast is okay here, because it is sure that // createNewContent always creates a Content. rtl::Reference< Content > xTarget = static_cast< Content * >( createNewContent( aContentInfo ).get() ); @@ -1907,7 +1907,7 @@ void Content::transfer( } - // 5) Destroy source ( when moving only ) . + // 5) Destroy source (when moving only). if ( !rInfo.MoveData )