Fix typos
Change-Id: Ieea40e1b7282267157810f9f58ca083e68ae6715 Reviewed-on: https://gerrit.libreoffice.org/35659 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
3c7652203c
commit
f7eb8ae9d9
@@ -21,6 +21,6 @@ However, if for some reason an assembly remains in the GAC than it is used no ma
|
|||||||
what.
|
what.
|
||||||
|
|
||||||
|
|
||||||
The qa test simply executes the cli_bridgetest_inprocess.exe. All console output is descarded.
|
The qa test simply executes the cli_bridgetest_inprocess.exe. All console output is discarded.
|
||||||
When the test fails one should directly run that executable. Then one may see the cause
|
When the test fails one should directly run that executable. Then one may see the cause
|
||||||
of the failure in the console.
|
of the failure in the console.
|
||||||
|
@@ -4,7 +4,7 @@ or Java.
|
|||||||
|
|
||||||
Note that the "awt" here has no relation to the Java awt, as far as I know. It
|
Note that the "awt" here has no relation to the Java awt, as far as I know. It
|
||||||
might be inspired by it API-wise, perhaps. (If you know differently, feel free
|
might be inspired by it API-wise, perhaps. (If you know differently, feel free
|
||||||
to improve this REDAME file.)
|
to improve this README file.)
|
||||||
|
|
||||||
Note that toolkit/ is itself not really a toolkit, it is at root a
|
Note that toolkit/ is itself not really a toolkit, it is at root a
|
||||||
reasonably simple wrapper of vcl/ - if you came here looking for a
|
reasonably simple wrapper of vcl/ - if you came here looking for a
|
||||||
|
@@ -87,7 +87,7 @@ public class Assert
|
|||||||
* retrieves a method, given by name and parameter signature, from the given class
|
* retrieves a method, given by name and parameter signature, from the given class
|
||||||
*
|
*
|
||||||
* The method does somewhat more than simply calling {@link Class#getMethod}. In particular, it recognizes
|
* The method does somewhat more than simply calling {@link Class#getMethod}. In particular, it recognizes
|
||||||
* primitiive parameter types, and attempts to find a method taking the given primitive type, instead of the
|
* primitive parameter types, and attempts to find a method taking the given primitive type, instead of the
|
||||||
* type represented by the parameter class.
|
* type represented by the parameter class.
|
||||||
*
|
*
|
||||||
* For instance, if you have a method <code>foo( int )</code>, {@link Class#getMethod} would not return this
|
* For instance, if you have a method <code>foo( int )</code>, {@link Class#getMethod} would not return this
|
||||||
|
@@ -232,7 +232,7 @@ public class GridControl
|
|||||||
impl_assertColumnModelConsistency();
|
impl_assertColumnModelConsistency();
|
||||||
List< ContainerEvent > events = listener.assertExclusiveInsertionEvents();
|
List< ContainerEvent > events = listener.assertExclusiveInsertionEvents();
|
||||||
listener.reset();
|
listener.reset();
|
||||||
assertEquals( "wrong number of events fired by setDefaulColumns", defaultColumnsCount, events.size() );
|
assertEquals( "wrong number of events fired by setDefaultColumns", defaultColumnsCount, events.size() );
|
||||||
for ( int i=0; i<defaultColumnsCount; ++i )
|
for ( int i=0; i<defaultColumnsCount; ++i )
|
||||||
{
|
{
|
||||||
final ContainerEvent event = events.get(i);
|
final ContainerEvent event = events.get(i);
|
||||||
|
@@ -114,7 +114,7 @@ namespace toolkit
|
|||||||
// the private: scheme is not considered to be hierarchical by INetURLObject, so manually insert the
|
// the private: scheme is not considered to be hierarchical by INetURLObject, so manually insert the
|
||||||
// segment
|
// segment
|
||||||
const sal_Int32 separatorPos = i_imageURL.indexOf( '/' );
|
const sal_Int32 separatorPos = i_imageURL.indexOf( '/' );
|
||||||
ENSURE_OR_RETURN( separatorPos != -1, "lcl_getHighContrastURL: unsipported URL scheme - cannot automatically determine HC version!", i_imageURL );
|
ENSURE_OR_RETURN( separatorPos != -1, "lcl_getHighContrastURL: unsupported URL scheme - cannot automatically determine HC version!", i_imageURL );
|
||||||
|
|
||||||
OUStringBuffer composer;
|
OUStringBuffer composer;
|
||||||
composer.append( i_imageURL.copy( 0, separatorPos ) );
|
composer.append( i_imageURL.copy( 0, separatorPos ) );
|
||||||
|
@@ -44,7 +44,7 @@ class NodeMap
|
|||||||
|
|
||||||
/** @return
|
/** @return
|
||||||
whether the new node was different from a previous one
|
whether the new node was different from a previous one
|
||||||
repspectively was the first one set.
|
respectively was the first one set.
|
||||||
*/
|
*/
|
||||||
public boolean InsertNode (XAccessibleContext xContext, AccessibleTreeNode aNode)
|
public boolean InsertNode (XAccessibleContext xContext, AccessibleTreeNode aNode)
|
||||||
{
|
{
|
||||||
|
@@ -1060,7 +1060,7 @@ bool INetURLObject::setAbsURIRef(OUString const & rTheAbsURIRef,
|
|||||||
// becomes
|
// becomes
|
||||||
// "file:///" ALPHA ":" ["/" *path] ["#" *UCS4]
|
// "file:///" ALPHA ":" ["/" *path] ["#" *UCS4]
|
||||||
// replacing "\" by "/" within <*path>
|
// replacing "\" by "/" within <*path>
|
||||||
// 4th Production (misscounted slashes):
|
// 4th Production (miscounted slashes):
|
||||||
// "//" *path ["#" *UCS4]
|
// "//" *path ["#" *UCS4]
|
||||||
// becomes
|
// becomes
|
||||||
// "file:///" *path ["#" *UCS4]
|
// "file:///" *path ["#" *UCS4]
|
||||||
|
@@ -1109,7 +1109,7 @@ void Polygon::AdaptiveSubdivide( Polygon& rResult, const double d ) const
|
|||||||
if (aPoints.size() >= SAL_MAX_UINT16)
|
if (aPoints.size() >= SAL_MAX_UINT16)
|
||||||
{
|
{
|
||||||
OSL_ENSURE(aPoints.size() < SAL_MAX_UINT16,
|
OSL_ENSURE(aPoints.size() < SAL_MAX_UINT16,
|
||||||
"Polygon::AdapativeSubdivision created polygon too many points;"
|
"Polygon::AdaptiveSubdivision created polygon too many points;"
|
||||||
" using original polygon instead");
|
" using original polygon instead");
|
||||||
|
|
||||||
// The resulting polygon can not hold all the points
|
// The resulting polygon can not hold all the points
|
||||||
@@ -1690,7 +1690,7 @@ void impCorrectContinuity(basegfx::B2DPolygon& roPolygon, sal_uInt32 nIndex, Pol
|
|||||||
{
|
{
|
||||||
if(roPolygon.isPrevControlPointUsed(nIndex) && roPolygon.isNextControlPointUsed(nIndex))
|
if(roPolygon.isPrevControlPointUsed(nIndex) && roPolygon.isNextControlPointUsed(nIndex))
|
||||||
{
|
{
|
||||||
// #i115917# Patch from osnola (modified, thanks for showing the porblem)
|
// #i115917# Patch from osnola (modified, thanks for showing the problem)
|
||||||
|
|
||||||
// The correction is needed because an integer polygon with control points
|
// The correction is needed because an integer polygon with control points
|
||||||
// is converted to double precision. When C1 or C2 is used the involved vectors
|
// is converted to double precision. When C1 or C2 is used the involved vectors
|
||||||
@@ -1700,7 +1700,7 @@ void impCorrectContinuity(basegfx::B2DPolygon& roPolygon, sal_uInt32 nIndex, Pol
|
|||||||
// it needs to be corrected to be able to detect the continuity in this points
|
// it needs to be corrected to be able to detect the continuity in this points
|
||||||
// correctly.
|
// correctly.
|
||||||
|
|
||||||
// We only have the integer data here (already in double precision form, but no mantisses
|
// We only have the integer data here (already in double precision form, but no mantisse
|
||||||
// used), so the best correction is to use:
|
// used), so the best correction is to use:
|
||||||
|
|
||||||
// for C1: The longest vector since it potentially has best preserved the original vector.
|
// for C1: The longest vector since it potentially has best preserved the original vector.
|
||||||
|
@@ -55,7 +55,7 @@ public class _XTypeProvider {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ?alls the method and checks the return value.<p>
|
* Calls the method and checks the return value.<p>
|
||||||
* Has <b>OK</b> status if one of the return value equals to the
|
* Has <b>OK</b> status if one of the return value equals to the
|
||||||
* type <code>com.sun.star.lang.XTypeProvider</code>.
|
* type <code>com.sun.star.lang.XTypeProvider</code>.
|
||||||
*/
|
*/
|
||||||
|
@@ -1602,7 +1602,7 @@ void globalTransfer_(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} /* namescpace */
|
} /* namespace */
|
||||||
|
|
||||||
|
|
||||||
// UniversalContentBroker implementation ( XCommandProcessor commands ).
|
// UniversalContentBroker implementation ( XCommandProcessor commands ).
|
||||||
|
@@ -2373,7 +2373,7 @@ TaskManager::commit( const TaskManager::ContentMap::iterator& it,
|
|||||||
{
|
{
|
||||||
// extremely ugly, but otherwise default construction
|
// extremely ugly, but otherwise default construction
|
||||||
// of aDirItem and aFileStatus2
|
// of aDirItem and aFileStatus2
|
||||||
// before the preciding if
|
// before the preceding if
|
||||||
isVolume = osl::FileStatus::Volume == aFileStatus.getFileType();
|
isVolume = osl::FileStatus::Volume == aFileStatus.getFileType();
|
||||||
isDirectory =
|
isDirectory =
|
||||||
osl::FileStatus::Volume == aFileStatus.getFileType() ||
|
osl::FileStatus::Volume == aFileStatus.getFileType() ||
|
||||||
|
@@ -583,7 +583,7 @@ ContentProvider::queryStorageTitle( const OUString & rUri ) const
|
|||||||
else if ( aUri.isDocument() )
|
else if ( aUri.isDocument() )
|
||||||
{
|
{
|
||||||
// for documents, title shall not be derived from URL. It shall
|
// for documents, title shall not be derived from URL. It shall
|
||||||
// be somethimg more 'speaking' than just the document UID.
|
// be something more 'speaking' than just the document UID.
|
||||||
if ( m_xDocsMgr.is() )
|
if ( m_xDocsMgr.is() )
|
||||||
aTitle = m_xDocsMgr->queryStorageTitle( aUri.getDocumentId() );
|
aTitle = m_xDocsMgr->queryStorageTitle( aUri.getDocumentId() );
|
||||||
}
|
}
|
||||||
|
@@ -488,7 +488,7 @@ void ContentProperties::addProperty( const OUString & rName,
|
|||||||
OUString aValue;
|
OUString aValue;
|
||||||
rValue >>= aValue;
|
rValue >>= aValue;
|
||||||
|
|
||||||
// Map DAV:resourceype to UCP:IsFolder, UCP:IsDocument, UCP:ContentType
|
// Map DAV:resourcetype to UCP:IsFolder, UCP:IsDocument, UCP:ContentType
|
||||||
bool bFolder = aValue.equalsIgnoreAsciiCase( "collection" );
|
bool bFolder = aValue.equalsIgnoreAsciiCase( "collection" );
|
||||||
|
|
||||||
(*m_xProps)[ OUString("IsFolder") ]
|
(*m_xProps)[ OUString("IsFolder") ]
|
||||||
|
@@ -511,7 +511,7 @@ extern "C" void NeonSession_PreSendRequest( ne_request * req,
|
|||||||
// If there is a proxy server in between, it shall never use
|
// If there is a proxy server in between, it shall never use
|
||||||
// cached data. We always want 'up-to-date' data.
|
// cached data. We always want 'up-to-date' data.
|
||||||
ne_buffer_concat( headers, "Pragma: no-cache", EOL, nullptr );
|
ne_buffer_concat( headers, "Pragma: no-cache", EOL, nullptr );
|
||||||
// alternative, but understoud by HTTP 1.1 servers only:
|
// alternative, but understood by HTTP 1.1 servers only:
|
||||||
// ne_buffer_concat( headers, "Cache-Control: max-age=0", EOL, NULL );
|
// ne_buffer_concat( headers, "Cache-Control: max-age=0", EOL, NULL );
|
||||||
|
|
||||||
const RequestDataMap * pRequestData
|
const RequestDataMap * pRequestData
|
||||||
@@ -892,7 +892,7 @@ void NeonSession::OPTIONS( const OUString & inPath,
|
|||||||
// we detect the class (1, 2 and 3), other elements (token, URL)
|
// we detect the class (1, 2 and 3), other elements (token, URL)
|
||||||
// are not used for now
|
// are not used for now
|
||||||
// silly parser written using OUString, not very efficient
|
// silly parser written using OUString, not very efficient
|
||||||
// but quick and esy to write...
|
// but quick and easy to write...
|
||||||
sal_Int32 nFromIndex = 0;
|
sal_Int32 nFromIndex = 0;
|
||||||
sal_Int32 nNextIndex = 0;
|
sal_Int32 nNextIndex = 0;
|
||||||
while( ( nNextIndex = aHeaderValue.indexOf( ",", nFromIndex ) ) != -1 )
|
while( ( nNextIndex = aHeaderValue.indexOf( ",", nFromIndex ) ) != -1 )
|
||||||
|
@@ -2293,7 +2293,7 @@ uno::Any Content::open(
|
|||||||
}
|
}
|
||||||
xResAccess->setFlags( rArg.OpeningFlags );
|
xResAccess->setFlags( rArg.OpeningFlags );
|
||||||
|
|
||||||
// fill inputsream sync; return if all data present
|
// fill inputstream sync; return if all data present
|
||||||
DAVResource aResource;
|
DAVResource aResource;
|
||||||
std::vector< OUString > aHeaders;
|
std::vector< OUString > aHeaders;
|
||||||
|
|
||||||
@@ -3872,7 +3872,7 @@ Content::ResourceType Content::getResourceType(
|
|||||||
}
|
}
|
||||||
if ( e.getStatus() == SC_NOT_FOUND )
|
if ( e.getStatus() == SC_NOT_FOUND )
|
||||||
{
|
{
|
||||||
// arrives here if OPTIONS is still cached for a resource prevously available
|
// arrives here if OPTIONS is still cached for a resource previously available
|
||||||
// operate on the OPTIONS cache:
|
// operate on the OPTIONS cache:
|
||||||
// if OPTIONS was not found, do nothing
|
// if OPTIONS was not found, do nothing
|
||||||
// else OPTIONS returned on a resource not existent (example a server that allows lock on null resource) set
|
// else OPTIONS returned on a resource not existent (example a server that allows lock on null resource) set
|
||||||
@@ -4046,7 +4046,7 @@ void Content::getResourceOptions(
|
|||||||
case DAVException::DAV_HTTP_CONNECT:
|
case DAVException::DAV_HTTP_CONNECT:
|
||||||
{
|
{
|
||||||
// something bad happened to the connection
|
// something bad happened to the connection
|
||||||
// not same as not found, this instead happens when the server does'n exist or does'n aswer at all
|
// not same as not found, this instead happens when the server doesn't exist or doesn't answer at all
|
||||||
// probably a new bit stating 'timed out' should be added to opts var?
|
// probably a new bit stating 'timed out' should be added to opts var?
|
||||||
// in any case abort the command
|
// in any case abort the command
|
||||||
SAL_WARN( "ucb.ucp.webdav", "OPTIONS - DAVException: DAV_HTTP_TIMEOUT or DAV_HTTP_CONNECT for URL <" << m_xIdentifier->getContentIdentifier() << ">" );
|
SAL_WARN( "ucb.ucp.webdav", "OPTIONS - DAVException: DAV_HTTP_TIMEOUT or DAV_HTTP_CONNECT for URL <" << m_xIdentifier->getContentIdentifier() << ">" );
|
||||||
|
@@ -509,7 +509,7 @@ void ContentProperties::addProperty( const OUString & rName,
|
|||||||
OUString aValue;
|
OUString aValue;
|
||||||
rValue >>= aValue;
|
rValue >>= aValue;
|
||||||
|
|
||||||
// Map DAV:resourceype to UCP:IsFolder, UCP:IsDocument, UCP:ContentType
|
// Map DAV:resourcetype to UCP:IsFolder, UCP:IsDocument, UCP:ContentType
|
||||||
bool bFolder =
|
bool bFolder =
|
||||||
aValue.equalsIgnoreAsciiCase( "collection" );
|
aValue.equalsIgnoreAsciiCase( "collection" );
|
||||||
|
|
||||||
|
@@ -2147,7 +2147,7 @@ uno::Any Content::open(
|
|||||||
new DAVResourceAccess( *m_xResAccess.get() ) );
|
new DAVResourceAccess( *m_xResAccess.get() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
// fill inputsream sync; return if all data present
|
// fill inputstream sync; return if all data present
|
||||||
DAVResource aResource;
|
DAVResource aResource;
|
||||||
std::vector< OUString > aHeaders;
|
std::vector< OUString > aHeaders;
|
||||||
|
|
||||||
|
@@ -73,7 +73,7 @@ published service TypeDescriptionManager
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>Even though the name of this interface suggests that the used type
|
<p>Even though the name of this interface suggests that the used type
|
||||||
names are hierarchic, this need not be the case. (For example, consider
|
names are hierarchical, this doesn't need to be the case. (For example, consider
|
||||||
the names of instantiated polymorphic struct types, like
|
the names of instantiated polymorphic struct types, like
|
||||||
<code>"Struct<long>"</code>.)</p>
|
<code>"Struct<long>"</code>.)</p>
|
||||||
*/
|
*/
|
||||||
|
@@ -31,7 +31,7 @@ void Test::testSingleElement()
|
|||||||
{ // lowercase
|
{ // lowercase
|
||||||
OUString test1 = GetEnglishSearchFontName( "SYMBOL" );
|
OUString test1 = GetEnglishSearchFontName( "SYMBOL" );
|
||||||
CPPUNIT_ASSERT_EQUAL( OUString("symbol"),test1);
|
CPPUNIT_ASSERT_EQUAL( OUString("symbol"),test1);
|
||||||
//trailingWhitespaces
|
//trailing whitespaces
|
||||||
test1 = GetEnglishSearchFontName( "Symbol " );
|
test1 = GetEnglishSearchFontName( "Symbol " );
|
||||||
CPPUNIT_ASSERT_EQUAL(OUString("symbol"),test1);
|
CPPUNIT_ASSERT_EQUAL(OUString("symbol"),test1);
|
||||||
//no longer remove script suffixes
|
//no longer remove script suffixes
|
||||||
|
@@ -353,7 +353,7 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const css::uno::Sequence< OUS
|
|||||||
(void)::utl::splitLastFromConfigurationPath(sName,sPath,sProperty);
|
(void)::utl::splitLastFromConfigurationPath(sName,sPath,sProperty);
|
||||||
if (sPath.isEmpty() && sProperty.isEmpty())
|
if (sPath.isEmpty() && sProperty.isEmpty())
|
||||||
{
|
{
|
||||||
OSL_FAIL("ConfigItem::IsReadonly()\nsplitt failed\n");
|
OSL_FAIL("ConfigItem::IsReadonly()\nsplit failed\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -561,7 +561,7 @@ void Moderator::handle( const Reference<XInteractionRequest >& Request )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// resignal the exitcondition
|
// resignal the exit condition
|
||||||
setReply(EXIT);
|
setReply(EXIT);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -1239,7 +1239,7 @@ ErrCode UcbLockBytes::SetSize (sal_uInt64 const nNewSize)
|
|||||||
nSize = 0;
|
nSize = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SAL_INFO("unotools.ucbhelper", "Not truncatable!");
|
SAL_INFO("unotools.ucbhelper", "Not truncable!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -64,7 +64,7 @@ namespace DOM
|
|||||||
pNs = xmlSearchNsByHref(pNode->doc, pNode, pUri);
|
pNs = xmlSearchNsByHref(pNode->doc, pNode, pUri);
|
||||||
// if (!pNs) hmm... now what? throw?
|
// if (!pNs) hmm... now what? throw?
|
||||||
if (!pNs) {
|
if (!pNs) {
|
||||||
SAL_WARN("unoxml", "CAtttr: cannot create namespace");
|
SAL_WARN("unoxml", "CAttr: cannot create namespace");
|
||||||
}
|
}
|
||||||
return pNs;
|
return pNs;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user