Fix typos
Change-Id: Id56a6aa927accfdeab10c4680a8f7b0f398f282b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210374 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
33c1913a79
commit
32b95cfb89
@@ -36,7 +36,7 @@ namespace
|
|||||||
|
|
||||||
void webdav_local_test::WebdavUriTest()
|
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" );
|
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"http"_ustr, aURI.GetScheme() );
|
||||||
CPPUNIT_ASSERT_EQUAL( u"server.biz"_ustr, aURI.GetHost() );
|
CPPUNIT_ASSERT_EQUAL( u"server.biz"_ustr, aURI.GetHost() );
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ namespace
|
|||||||
CPPUNIT_TEST( DAVTypesTest );
|
CPPUNIT_TEST( DAVTypesTest );
|
||||||
CPPUNIT_TEST( DAVOptsCacheTests );
|
CPPUNIT_TEST( DAVOptsCacheTests );
|
||||||
CPPUNIT_TEST_SUITE_END();
|
CPPUNIT_TEST_SUITE_END();
|
||||||
}; // class webdav_local_test
|
}; // class webdav_opts_test
|
||||||
|
|
||||||
// initialise your test code values here.
|
// initialise your test code values here.
|
||||||
void webdav_opts_test::setUp()
|
void webdav_opts_test::setUp()
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ namespace
|
|||||||
CPPUNIT_TEST( PropfindCacheElemTests );
|
CPPUNIT_TEST( PropfindCacheElemTests );
|
||||||
CPPUNIT_TEST( PropfindCacheTests );
|
CPPUNIT_TEST( PropfindCacheTests );
|
||||||
CPPUNIT_TEST_SUITE_END();
|
CPPUNIT_TEST_SUITE_END();
|
||||||
}; // class webdav_local_test
|
}; // class webdav_propcache_test
|
||||||
|
|
||||||
// initialise your test code values here.
|
// initialise your test code values here.
|
||||||
void webdav_propcache_test::setUp()
|
void webdav_propcache_test::setUp()
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ namespace
|
|||||||
CPPUNIT_TEST_SUITE( webdav_resource_access_test );
|
CPPUNIT_TEST_SUITE( webdav_resource_access_test );
|
||||||
CPPUNIT_TEST( DAVCheckRetries );
|
CPPUNIT_TEST( DAVCheckRetries );
|
||||||
CPPUNIT_TEST_SUITE_END();
|
CPPUNIT_TEST_SUITE_END();
|
||||||
}; // class webdav_local_test
|
}; // class webdav_resource_access_test
|
||||||
|
|
||||||
// initialise your test code values here.
|
// initialise your test code values here.
|
||||||
void webdav_resource_access_test::setUp()
|
void webdav_resource_access_test::setUp()
|
||||||
|
|||||||
@@ -1278,7 +1278,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
|
|||||||
// Do not set new title!
|
// Do not set new title!
|
||||||
aNewTitle.clear();
|
aNewTitle.clear();
|
||||||
|
|
||||||
// Set error .
|
// Set error.
|
||||||
aRetRange[ nTitlePos ] <<= uno::Exception(
|
aRetRange[ nTitlePos ] <<= uno::Exception(
|
||||||
u"Exchange failed!"_ustr,
|
u"Exchange failed!"_ustr,
|
||||||
getXWeak() );
|
getXWeak() );
|
||||||
@@ -1718,7 +1718,7 @@ void Content::transfer(
|
|||||||
uno::Reference< ucb::XContentIdentifier > xId
|
uno::Reference< ucb::XContentIdentifier > xId
|
||||||
= new ::ucbhelper::ContentIdentifier( rInfo.SourceURL );
|
= 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.
|
// m_xProvider is always the PackageContentProvider.
|
||||||
rtl::Reference< Content > xSource;
|
rtl::Reference< Content > xSource;
|
||||||
|
|
||||||
@@ -1757,7 +1757,7 @@ void Content::transfer(
|
|||||||
: getContentType( m_aUri.getScheme(), false );
|
: getContentType( m_aUri.getScheme(), false );
|
||||||
aContentInfo.Attributes = 0;
|
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.
|
// createNewContent always creates a Content.
|
||||||
rtl::Reference< Content > xTarget
|
rtl::Reference< Content > xTarget
|
||||||
= static_cast< Content * >( createNewContent( aContentInfo ).get() );
|
= 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 )
|
if ( !rInfo.MoveData )
|
||||||
|
|||||||
Reference in New Issue
Block a user