Kaydet (Commit) f7eb8ae9 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: Ieea40e1b7282267157810f9f58ca083e68ae6715
Reviewed-on: https://gerrit.libreoffice.org/35659Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 3c765220
......@@ -21,6 +21,6 @@ However, if for some reason an assembly remains in the GAC than it is used no ma
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
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
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
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
*
* 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.
*
* 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();
List< ContainerEvent > events = listener.assertExclusiveInsertionEvents();
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 )
{
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
// segment
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;
composer.append( i_imageURL.copy( 0, separatorPos ) );
......
......@@ -44,7 +44,7 @@ class NodeMap
/** @return
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)
{
......
......@@ -1060,7 +1060,7 @@ bool INetURLObject::setAbsURIRef(OUString const & rTheAbsURIRef,
// becomes
// "file:///" ALPHA ":" ["/" *path] ["#" *UCS4]
// replacing "\" by "/" within <*path>
// 4th Production (misscounted slashes):
// 4th Production (miscounted slashes):
// "//" *path ["#" *UCS4]
// becomes
// "file:///" *path ["#" *UCS4]
......
......@@ -1109,7 +1109,7 @@ void Polygon::AdaptiveSubdivide( Polygon& rResult, const double d ) const
if (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");
// 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))
{
// #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
// 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
// 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:
// 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
* type <code>com.sun.star.lang.XTypeProvider</code>.
*/
......
......@@ -1602,7 +1602,7 @@ void globalTransfer_(
}
}
} /* namescpace */
} /* namespace */
// UniversalContentBroker implementation ( XCommandProcessor commands ).
......
......@@ -2373,7 +2373,7 @@ TaskManager::commit( const TaskManager::ContentMap::iterator& it,
{
// extremely ugly, but otherwise default construction
// of aDirItem and aFileStatus2
// before the preciding if
// before the preceding if
isVolume = osl::FileStatus::Volume == aFileStatus.getFileType();
isDirectory =
osl::FileStatus::Volume == aFileStatus.getFileType() ||
......
......@@ -583,7 +583,7 @@ ContentProvider::queryStorageTitle( const OUString & rUri ) const
else if ( aUri.isDocument() )
{
// 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() )
aTitle = m_xDocsMgr->queryStorageTitle( aUri.getDocumentId() );
}
......
......@@ -488,7 +488,7 @@ void ContentProperties::addProperty( const OUString & rName,
OUString 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" );
(*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
// cached data. We always want 'up-to-date' data.
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 );
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)
// are not used for now
// 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 nNextIndex = 0;
while( ( nNextIndex = aHeaderValue.indexOf( ",", nFromIndex ) ) != -1 )
......
......@@ -2293,7 +2293,7 @@ uno::Any Content::open(
}
xResAccess->setFlags( rArg.OpeningFlags );
// fill inputsream sync; return if all data present
// fill inputstream sync; return if all data present
DAVResource aResource;
std::vector< OUString > aHeaders;
......@@ -3872,7 +3872,7 @@ Content::ResourceType Content::getResourceType(
}
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:
// 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
......@@ -4046,7 +4046,7 @@ void Content::getResourceOptions(
case DAVException::DAV_HTTP_CONNECT:
{
// 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?
// 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() << ">" );
......
......@@ -509,7 +509,7 @@ void ContentProperties::addProperty( const OUString & rName,
OUString 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" );
......
......@@ -2147,7 +2147,7 @@ uno::Any Content::open(
new DAVResourceAccess( *m_xResAccess.get() ) );
}
// fill inputsream sync; return if all data present
// fill inputstream sync; return if all data present
DAVResource aResource;
std::vector< OUString > aHeaders;
......
......@@ -73,7 +73,7 @@ published service TypeDescriptionManager
</ul>
<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
<code>"Struct&lt;long&gt;"</code>.)</p>
*/
......
......@@ -31,7 +31,7 @@ void Test::testSingleElement()
{ // lowercase
OUString test1 = GetEnglishSearchFontName( "SYMBOL" );
CPPUNIT_ASSERT_EQUAL( OUString("symbol"),test1);
//trailingWhitespaces
//trailing whitespaces
test1 = GetEnglishSearchFontName( "Symbol " );
CPPUNIT_ASSERT_EQUAL(OUString("symbol"),test1);
//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);
if (sPath.isEmpty() && sProperty.isEmpty())
{
OSL_FAIL("ConfigItem::IsReadonly()\nsplitt failed\n");
OSL_FAIL("ConfigItem::IsReadonly()\nsplit failed\n");
continue;
}
......
......@@ -561,7 +561,7 @@ void Moderator::handle( const Reference<XInteractionRequest >& Request )
}
}
// resignal the exitcondition
// resignal the exit condition
setReply(EXIT);
break;
}
......@@ -1239,7 +1239,7 @@ ErrCode UcbLockBytes::SetSize (sal_uInt64 const nNewSize)
nSize = 0;
}
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);
// if (!pNs) hmm... now what? throw?
if (!pNs) {
SAL_WARN("unoxml", "CAtttr: cannot create namespace");
SAL_WARN("unoxml", "CAttr: cannot create namespace");
}
return pNs;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment