Fix typos

Change-Id: I1488e2147fa0cd4a821eb5bfe172a58a4e396ace
Reviewed-on: https://gerrit.libreoffice.org/35224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
This commit is contained in:
Andrea Gelmini 2017-03-15 14:58:38 +01:00 committed by Björn Michaelsen
parent 665d7a4e65
commit 15e3ce5328
17 changed files with 22 additions and 22 deletions

View file

@ -377,7 +377,7 @@ void OSDBCDriverManager::initializeDriverPrecedence()
// move the DriverAccess pointed to by aPos.first to the position pointed to by aNoPrefDriversStart
if ( aPos.first != aNoPrefDriversStart )
{ // if this does not hold, the DriverAccess alread has the correct position
{ // if this does not hold, the DriverAccess already has the correct position
// rotate the range [aNoPrefDriversStart, aPos.second) right 1 element
std::rotate( aNoPrefDriversStart, aPos.second - 1, aPos.second );

View file

@ -90,7 +90,7 @@ namespace pcr
bool m_bHaveListSource : 1;
/// our component has a "Command" property
bool m_bHaveCommand : 1;
/// the class id of the component - if appliable
/// the class id of the component - if applicable
sal_Int16 m_nClassId;
public:

View file

@ -237,7 +237,7 @@ void SAL_CALL OFormattedFieldWrapper::read(const Reference<XObjectInputStream>&
{
SolarMutexGuard g;
if (m_xAggregate.is())
{ // we alread did a decision if we're an EditModel or a FormattedModel
{ // we already did a decision if we're an EditModel or a FormattedModel
// if we act as formatted, we have to read the edit part first
if (m_xFormattedPart.is())

View file

@ -109,7 +109,7 @@ public:
If not NULL, the object pointed to is used to calc handles which should be used
for referring the aggregate's properties from outside.
If one of the properties returned from the info service conflict with other handles
alread present (e.g. through _rProperties), the property is handled as if -1 was returned.
already present (e.g. through _rProperties), the property is handled as if -1 was returned.
If NULL (or, for a special property, a call to getPreferredPropertyId returns -1),
the aggregate property(ies) get a new handle which they can be referred by from outside.
@param _nFirstAggregateId

View file

@ -639,7 +639,7 @@ public:
// TODO: provide proper documentation here
/** read a BLIP out of a already positioned stream
@param[in] rBLIPStream alread positioned stream (mandatory)
@param[in] rBLIPStream already positioned stream (mandatory)
@param[out] rData already converted data (insert directly as
graphics into our documents)
@param pVisArea ???

View file

@ -1041,7 +1041,7 @@ struct RemovePointerHelper<T, Pointee*>
typedef Pointee Type;
};
} // namespac detail
} // namespace detail
/**
* Produces the pointed-to type if a pointer is provided, else returns the input

View file

@ -226,7 +226,7 @@ public:
sal_uInt16 GetFormatIntegerDigits( sal_uInt16 nIx = 0 ) const
{ return NumFor[nIx].Info().nCntPre; }
/** Count of hidden integer digits with thousands dividor:
/** Count of hidden integer digits with thousands divisor:
* formats like "0," to show only thousands
*/
sal_uInt16 GetThousandDivisorPrecision( sal_uInt16 nIx = 0 ) const

View file

@ -120,7 +120,7 @@ namespace io_acceptor
Reference< XConnection > OAcceptor::accept( const OUString &sConnectionDescription )
{
// if there is a thread alread accepting in this object, throw an exception.
// if there is a thread already accepting in this object, throw an exception.
struct BeingInAccept guard( &m_bInAccept, sConnectionDescription );
Reference< XConnection > r;

View file

@ -1199,7 +1199,7 @@ Reference< XPersistObject > OObjectInputStream::readObject()
}
else
{
// Object has alread been read,
// Object has already been read,
xLoadedObj = m_aPersistVector[nId];
}
}

View file

@ -103,7 +103,7 @@ public final class pipeConnector implements XConnector {
throws NoConnectException, ConnectionSetupException
{
if (bConnected)
throw new ConnectionSetupException("alread connected");
throw new ConnectionSetupException("already connected");
try {
XConnection xConn = new PipeConnection( connectionDescription );

View file

@ -109,7 +109,7 @@ public final class socketConnector implements XConnector {
throws NoConnectException, ConnectionSetupException
{
if (connected)
throw new ConnectionSetupException("alread connected");
throw new ConnectionSetupException("already connected");
ConnectionDescriptor desc;
try {

View file

@ -640,7 +640,7 @@ namespace osl_ClearableGuard
/// it will return sal_False if the aMutex has not been Guarded.
bool bRes = aMutex.release( );
CPPUNIT_ASSERT_MESSAGE("ClearableMutexGuard constructor, test the acquire operation when initilized.",
CPPUNIT_ASSERT_MESSAGE("ClearableMutexGuard constructor, test the acquire operation when initialized.",
bRes);
}
@ -654,7 +654,7 @@ namespace osl_ClearableGuard
/// it will return sal_False if the aMutex has not been Guarded.
bool bRes = aMutex.release( );
CPPUNIT_ASSERT_MESSAGE("ClearableMutexGuard constructor, test the acquire operation when initilized, we use reference constructor this time.",
CPPUNIT_ASSERT_MESSAGE("ClearableMutexGuard constructor, test the acquire operation when initialized, we use reference constructor this time.",
bRes);
}
@ -774,7 +774,7 @@ namespace osl_ResettableGuard
/// it will return sal_False if the aMutex has not been Guarded.
bool bRes = aMutex.release( );
CPPUNIT_ASSERT_MESSAGE("ResettableMutexGuard constructor, test the acquire operation when initilized.",
CPPUNIT_ASSERT_MESSAGE("ResettableMutexGuard constructor, test the acquire operation when initialized.",
bRes);
}
@ -788,7 +788,7 @@ namespace osl_ResettableGuard
/// it will return sal_False if the aMutex has not been Guarded.
bool bRes = aMutex.release( );
CPPUNIT_ASSERT_MESSAGE( "ResettableMutexGuard constructor, test the acquire operation when initilized, we use reference constructor this time.",
CPPUNIT_ASSERT_MESSAGE( "ResettableMutexGuard constructor, test the acquire operation when initialized, we use reference constructor this time.",
bRes);
}

View file

@ -694,7 +694,7 @@ double ScDocument::RoundValueAsShown( double fVal, sal_uInt32 nFormat ) const
}
case css::util::NumberFormat::NUMBER:
case css::util::NumberFormat::CURRENCY:
{ // tdf#106253 Thousands dividors for format "0,"
{ // tdf#106253 Thousands divisors for format "0,"
nPrecision -= pFormat->GetThousandDivisorPrecision( nIdx );
break;
}

View file

@ -184,7 +184,7 @@ void ScSpecialFilterDlg::Init( const SfxItemSet& rArgSet )
pLbFilterArea->SelectEntryPos( 0 );
// let options be initilized:
// let options be initialized:
pOptionsMgr = new ScFilterOptionsMgr(
pViewData,
@ -207,8 +207,8 @@ void ScSpecialFilterDlg::Init( const SfxItemSet& rArgSet )
pBtnHeader->Disable();
// turn on modal mode
// SetDispatcherLock( true );
//@BugID 54702 enable/disalbe in base class only
// SetDispatcherLock( true );
//@BugID 54702 enable/disable in base class only
//SFX_APPWINDOW->Disable(false); //! general method in ScAnyRefDlg
}

View file

@ -294,7 +294,7 @@ sub create_unique_directorynames
# setting the installlocation directory
if ( $styles =~ /\bISINSTALLLOCATION\b/ )
{
if ( $installer::globals::installlocationdirectoryset ) { installer::exiter::exit_program("ERROR: Directory with flag ISINSTALLLOCATION alread set: \"$installer::globals::installlocationdirectory\".", "create_unique_directorynames"); }
if ( $installer::globals::installlocationdirectoryset ) { installer::exiter::exit_program("ERROR: Directory with flag ISINSTALLLOCATION already set: \"$installer::globals::installlocationdirectory\".", "create_unique_directorynames"); }
$installer::globals::installlocationdirectory = $uniquename;
$installer::globals::installlocationdirectoryset = 1;
}

View file

@ -366,7 +366,7 @@ public:
vector_type::const_iterator end() const { return maVector.end(); }
void Resort() { maVector.Resort(); }
// Notifies all LOK clients when redliens are added/modified/removed
// Notifies all LOK clients when redlines are added/modified/removed
static void LOKRedlineNotification(RedlineNotification eType, SwRedlineTable::size_type nPos, SwRangeRedline* pRedline);
};

View file

@ -161,7 +161,7 @@ ReadState XPMReader::ReadXPM( Graphic& rGraphic )
if ( ( mnWidth * mnCpp ) >= XPMSTRINGBUF )
mbStatus = false;
//xpms are a minimum of one character (one byte) per pixel, so if the file isn't
//even that long, its not all there
//even that long, it's not all there
if (mrIStm.remainingSize() < static_cast<sal_uInt64>(mnWidth) * mnHeight)
mbStatus = false;
if ( mbStatus && mnWidth && mnHeight && mnColors && mnCpp )