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

Fix typos

Change-Id: Iebc31a53404da41f35eed7338662365d7efbd7a2
Reviewed-on: https://gerrit.libreoffice.org/57810
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 934fa683
......@@ -660,7 +660,7 @@ Assembly ^ TypeEmitter::type_resolve(
}
//In case of an instantiated polymorphic struct we want to return a
//uno.PolymorphicType (inherits Type) rather then Type. This is neaded for constructing
//uno.PolymorphicType (inherits Type) rather than Type. This is needed for constructing
//the service code. We can only do that if the struct is completed.
if (m_generated_structs[cts_name])
{
......@@ -823,7 +823,7 @@ Assembly ^ TypeEmitter::type_resolve(
{
for (int i = 0; i < seqBaseTypes.getLength(); i++)
{
//make sure we get the interface rather then a typedef
//make sure we get the interface rather than a typedef
Reference<reflection::XInterfaceTypeDescription2> aBaseType =
resolveInterfaceTypedef( seqBaseTypes[i]);
......
......@@ -244,7 +244,7 @@ void BackendImpl::ExecutablePackageImpl::processPackage_(
//installed. That is an executable must have the right flags
OSL_ASSERT(false);
//This won't have affect on Windows
//This won't have effect on Windows
osl::File::setAttributes(
dp_misc::expandUnoRcUrl(m_url), attributes);
}
......
......@@ -220,7 +220,7 @@ protected:
CComPtr<IDispatch> m_spDispatch;
OUString m_sTypeName; // is "" ( not initialised ), "IDispatch" ( we have no idea ) or "SomeLibrary.SomeTypeName" if we managed to get a type
/** This value is set during XInitialization::initialize. It indicates that the COM interface
was transported as VT_DISPATCH in a VARIANT rather then a VT_UNKNOWN
was transported as VT_DISPATCH in a VARIANT rather than a VT_UNKNOWN
*/
bool m_bOriginalDispatch;
DispIdMap m_dispIdMap;
......
......@@ -1650,7 +1650,7 @@ static bool writeBackOutParameter(VARIANTARG* pDest, VARIANT* pSource)
// if caller accept VARIANT as out parameter, any value must be converted
if (V_VT(pDest) == (VT_VARIANT | VT_BYREF))
{
// When the user provides a VARIANT rather then a concrete type
// When the user provides a VARIANT rather than a concrete type
// we just copy the source to the out, in/out parameter
// VT_DISPATCH, VT_UNKNOWN, VT_ARRAY, VT_BSTR in the VARIANT that
// is contained in pDest are released by VariantCopy
......
......@@ -592,7 +592,7 @@ XMultiPropertySet
* Then, no conversion is necessary, since they can hold all possible values. However, if
* the member is an Object and <em>setVal</em> is an Any then the object contained in the any is assigned to
* the member. The extra type information which exists as Type object in the Any will get lost. If this is not
* intended then use an Any variable rather then an Object.
* intended then use an Any variable rather than an Object.
*
* If a member is an Object or Any and the argument <em>setVal</em> is an Object, other than String or array,
* then it is presumed to be an UNO object and queried for XInterface. If successful, the out-param <em>newVal</em>
......
......@@ -116,9 +116,9 @@ public class ImageReadHandler extends ElementReadHandler
@Override
protected void doneParsing() throws SAXException
{
// if we have static content (as well or only), that one goes into the
// if we have static content (as well as or only), that one goes into the
// alternate-content attribute right now. It is part of the output target
// and style rules to deal with them properly ..
// and style rules to deal with them properly.
if (xLinkReadHandler != null)
{
contentElement.setAttribute(OfficeNamespaces.OOREPORT_NS,
......
......@@ -1335,7 +1335,7 @@ void CustomAnimationEffectTabPage::update( STLPropertySet* pSet )
if( mpCBSmoothStart->IsVisible() )
{
// set selected value for accelerate if different then in original set
// set selected value for accelerate if different than in original set
double fTemp = mpCBSmoothStart->IsChecked() ? 0.5 : 0.0;
......@@ -1348,7 +1348,7 @@ void CustomAnimationEffectTabPage::update( STLPropertySet* pSet )
if( fOldTemp != fTemp )
pSet->setPropertyValue( nHandleAccelerate, makeAny( fTemp ) );
// set selected value for decelerate if different then in original set
// set selected value for decelerate if different than in original set
fTemp = mpCBSmoothEnd->IsChecked() ? 0.5 : 0.0;
if(mpSet->getPropertyState( nHandleDecelerate ) != STLPropertyState::Ambiguous)
......
......@@ -83,7 +83,7 @@ static const DrawModeFlags OUTPUT_DRAWMODE_CONTRAST
<p>Despite its name this class is not a descendant of SfxViewShell
but of SfxShell. Its name expresses the fact that it acts like a
view shell. Being a stacked shell rather then being an actual view shell
view shell. Being a stacked shell rather than being an actual view shell
there can be several instances of this class that
<ul>
<li>all are based on the same view shell and thus show the same
......
......@@ -103,7 +103,7 @@ namespace sfx2
into the file picker filter list, instead of the single filters which form the class.</p>
<p>This is an interesting difference between local and global classes: Filters which are part of a global class
are listed in there own group, too. Filters in local classes aren't listed a second time - neither directly (as
are listed in their own group, too. Filters in local classes aren't listed a second time - neither directly (as
the filter itself) nor indirectly (as part of another local group).</p>
<p>The only exception are filters which are part of a global class <em>and</em> a local class. This is allowed.
......
......@@ -1500,7 +1500,7 @@ void SortedResultSet::Move( sal_IntPtr nPos, sal_IntPtr nCount, sal_IntPtr nOffs
}
}
// finally put the remembered entries at there new location
// finally put the remembered entries at their new location
nTo = nPos + nOffset;
for ( i=0; i<nCount; i++ )
{
......
......@@ -1615,7 +1615,7 @@ OUString XMLTextImportHelper::SetStyleAndAttrs(
bool bSameNumRules = xNewNumRules == xNumRules;
if( !bSameNumRules && xNewNumRules.is() && xNumRules.is() )
{
// If the interface pointers are different then this does
// If the interface pointers are different, then this does
// not mean that the num rules are different. Further tests
// are required then. However, if only one num rule is
// set, no tests are required of course.
......
......@@ -837,7 +837,7 @@ void XSecController::exportSignature(
OUStringBuffer buffer;
//If the xml signature was already contained in the document,
//then we use the original date and time string, rather then the
//then we use the original date and time string, rather than the
//converted one. This avoids writing a different string due to
//e.g. rounding issues and thus breaking the signature.
if (!signatureInfo.ouDateTime.isEmpty())
......
......@@ -213,9 +213,9 @@ OString getMozillaCurrentProfile( const css::uno::Reference< css::uno::XComponen
//used on a different platform.
//
//Then one needs to add the roots module oneself. This should be done with
//SECMOD_LoadUserModule rather then SECMOD_AddNewModule. The latter would write
//SECMOD_LoadUserModule rather than SECMOD_AddNewModule. The latter would write
//the location of the roots module to the profile, which makes FF2 and TB2 use
//it instead of there own module.
//it instead of their own module.
//
//When using SYSTEM_NSS then the libnss3.so lib is typically found in /usr/lib.
//This folder may, however, NOT contain the roots certificate module. That is,
......
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