Fix typos

Change-Id: I80b6d080aa31ff8b9d043b983993f4d26d8dc87c
Reviewed-on: https://gerrit.libreoffice.org/35662
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2017-03-24 15:37:27 +01:00
committed by Julien Nabet
parent cc71c6adfd
commit 370c65e709
17 changed files with 25 additions and 25 deletions

View File

@@ -2172,7 +2172,7 @@ HRESULT CMAccessible::SelectChild(XAccessible* pItem)
} }
/** /**
* Deselect one XAccessible item, for accSelect implimentation * Deselect one XAccessible item, for accSelect implementation
* @param pItem, the item should be deselected. * @param pItem, the item should be deselected.
* @return S_OK if successful. * @return S_OK if successful.
*/ */

View File

@@ -63,7 +63,7 @@ No column merge is allowed.<br/>
One compulsory Heading row.<br/> One compulsory Heading row.<br/>
<br/><br/> <br/><br/>
To let the template be flexible, we use a kind of "detection": we look where To let the template be flexible, we use a kind of "detection": we look where
the items are read the design of each table, reaplying it after writing the the items are read the design of each table, re-applying it after writing the
table.self.xTextDocument table.self.xTextDocument
<br/><br/> <br/><br/>
A note about threads:<br/> A note about threads:<br/>
@@ -700,7 +700,7 @@ class ItemsTable(object):
This class handles the preview of the topics table. This class handles the preview of the topics table.
You can call it the controller of the topics table. You can call it the controller of the topics table.
It differs from ItemsTable in that it has no data model - It differs from ItemsTable in that it has no data model -
the update is done programttically.<br/> the update is done programmatically.<br/>
<br/> <br/>
The decision to make this class a class by its own The decision to make this class a class by its own
was done out of logic reasons and not design/functionality reasons, was done out of logic reasons and not design/functionality reasons,

View File

@@ -37,7 +37,7 @@ class TemplateConsts:
''' '''
SECTION_MINUTES_ALL = "MINUTES_ALL" SECTION_MINUTES_ALL = "MINUTES_ALL"
''' '''
the name of the child nimutes section. the name of the child minutes section.
This section will be duplicated for each topic. This section will be duplicated for each topic.
''' '''
SECTION_MINUTES = "MINUTES" SECTION_MINUTES = "MINUTES"

View File

@@ -57,7 +57,7 @@ This control relays on the ControlScroller control which uses the following
Data model:<br/> Data model:<br/>
1. It uses a vector, whose members are arrays of PropertyValue.<br/> 1. It uses a vector, whose members are arrays of PropertyValue.<br/>
2. Each array represents a row.<br/> 2. Each array represents a row.<br/>
(Note: the Name and Value memebrs of the PropertyValue object are being used) (Note: the Name and Value members of the PropertyValue object are being used)
3. Each property Value represents a value 3. Each property Value represents a value
for a single control with the following rules:<br/> for a single control with the following rules:<br/>
3. a. the Value of the property is used for as value 3. a. the Value of the property is used for as value

View File

@@ -45,7 +45,7 @@ public class DataEntrySetter
String sDisplayAllData = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 46); String sDisplayAllData = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 46);
String sNoModification = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 47); // AllowUpdates String sNoModification = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 47); // AllowUpdates
String sNoDeletion = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 48); // AllowDeletes String sNoDeletion = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 48); // AllowDeletes
String sNoAddition = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 49); // AlowInserts String sNoAddition = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 49); // AllowInserts
String sdontdisplayExistingData = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 45); String sdontdisplayExistingData = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 45);
CurUnoDialog.insertRadioButton("optNewDataOnly", new XItemListenerAdapter() { CurUnoDialog.insertRadioButton("optNewDataOnly", new XItemListenerAdapter() {

View File

@@ -31,7 +31,7 @@ This class, as a base abstract class, sets a frame of functionality,
delegating the data Object get/set methods to a Value object, delegating the data Object get/set methods to a Value object,
and leaving the UI get/set methods abstract. and leaving the UI get/set methods abstract.
Note that event listening is *not* a part of this model. Note that event listening is *not* a part of this model.
the updateData() or updateUI() methods should be porogramatically called. the updateData() or updateUI() methods should be programatically called.
in child classes, the updateData() will be binded to UI event calls. in child classes, the updateData() will be binded to UI event calls.
<br><br> <br><br>
This class holds references to a Data Object and a Value object. This class holds references to a Data Object and a Value object.

View File

@@ -427,7 +427,7 @@ Const cstDot = &quot;.&quot;
If Not Utils._CheckArgument(pvIndex, 1, Utils._AddNumeric(vbString)) Then Goto Exit_Function If Not Utils._CheckArgument(pvIndex, 1, Utils._AddNumeric(vbString)) Then Goto Exit_Function
If VarType(pvIndex) = vbString Then If VarType(pvIndex) = vbString Then
iMode = cstByName iMode = cstByName
&apos; Dtermine full name STORAGE.LIBRARY.MODULE &apos; Determine full name STORAGE.LIBRARY.MODULE
vNames = Split(pvIndex, cstDot) vNames = Split(pvIndex, cstDot)
If UBound(vNames) = 2 Then If UBound(vNames) = 2 Then
ElseIf UBound(vNames) = 1 Then ElseIf UBound(vNames) = 1 Then
@@ -1624,4 +1624,4 @@ Public Sub _RootInit(Optional ByVal pbForce As Boolean)
If IsEmpty(_A2B_) Or pbForce Then _A2B_ = New Root_ If IsEmpty(_A2B_) Or pbForce Then _A2B_ = New Root_
End Sub &apos; _RootInit V1.1.0 End Sub &apos; _RootInit V1.1.0
</script:module> </script:module>

View File

@@ -686,7 +686,7 @@ Public Function OpenRecordset(ByVal Optional pvType As Variant _
, ByVal Optional pvOptions As Variant _ , ByVal Optional pvOptions As Variant _
, ByVal Optional pvLockEdit As Variant _ , ByVal Optional pvLockEdit As Variant _
, ByVal Optional pbClone As Boolean) As Object , ByVal Optional pbClone As Boolean) As Object
&apos;Return a Recordset object based on currentrecordset object with filter addition &apos;Return a Recordset object based on current recordset object with filter addition
If _ErrorHandler() Then On Local Error Goto Error_Function If _ErrorHandler() Then On Local Error Goto Error_Function
Dim cstThisSub As String Dim cstThisSub As String
@@ -1267,4 +1267,4 @@ Error_Function:
_PropertySet = False _PropertySet = False
GoTo Exit_Function GoTo Exit_Function
End Function &apos; _PropertySet End Function &apos; _PropertySet
</script:module> </script:module>

View File

@@ -849,7 +849,7 @@ Dim lChar As Long, sByte1 As String, sByte2 As String, sByte3 As String
_PercentEncode = psChar _PercentEncode = psChar
Case Asc(&quot;-&quot;), Asc(&quot;.&quot;), Asc(&quot;_&quot;), Asc(&quot;~&quot;) Case Asc(&quot;-&quot;), Asc(&quot;.&quot;), Asc(&quot;_&quot;), Asc(&quot;~&quot;)
_PercentEncode = psChar _PercentEncode = psChar
Case Asc(&quot;!&quot;), Asc(&quot;$&quot;), Asc(&quot;&amp;&quot;), Asc(&quot;&apos;&quot;), Asc(&quot;(&quot;), Asc(&quot;)&quot;), Asc(&quot;*&quot;), Asc(&quot;+&quot;), Asc(&quot;,&quot;), Asc(&quot;;&quot;), Asc(&quot;=&quot;) &apos; Reserved characters used as delimitors in query strings Case Asc(&quot;!&quot;), Asc(&quot;$&quot;), Asc(&quot;&amp;&quot;), Asc(&quot;&apos;&quot;), Asc(&quot;(&quot;), Asc(&quot;)&quot;), Asc(&quot;*&quot;), Asc(&quot;+&quot;), Asc(&quot;,&quot;), Asc(&quot;;&quot;), Asc(&quot;=&quot;) &apos; Reserved characters used as delimiters in query strings
_PercentEncode = psChar _PercentEncode = psChar
Case Asc(&quot; &quot;), Asc(&quot;%&quot;) Case Asc(&quot; &quot;), Asc(&quot;%&quot;)
_PercentEncode = &quot;%&quot; &amp; Right(&quot;00&quot; &amp; Hex(lChar), 2) _PercentEncode = &quot;%&quot; &amp; Right(&quot;00&quot; &amp; Hex(lChar), 2)
@@ -1264,4 +1264,4 @@ Private Function _UTF8Encode(ByVal psChar As String) As String
End Function &apos; _UTF8Encode V1.4.0 End Function &apos; _UTF8Encode V1.4.0
</script:module> </script:module>

View File

@@ -36,7 +36,7 @@ Sub LoadFrenchLanguage()
sMsgNoValidExchangeDate = &quot;Saisissez une date correcte pour le split d&apos;action.&quot; sMsgNoValidExchangeDate = &quot;Saisissez une date correcte pour le split d&apos;action.&quot;
sMsgWrongExchangeDate = &quot;Split impossible car il y a déjà eu des transactions après la date du split !&quot; sMsgWrongExchangeDate = &quot;Split impossible car il y a déjà eu des transactions après la date du split !&quot;
sMsgSellTooMuch = &quot;Impossible de vendre autant d&apos;actions ! Maximum : &quot; sMsgSellTooMuch = &quot;Impossible de vendre autant d&apos;actions ! Maximum : &quot;
sMsgConfirm = &quot;Confirmation requise&quot; sMsgConfirm = &quot;Confirmation required&quot;
sMsgFreeStock = &quot;S&apos;agit-il d&apos;actions gratuites ?&quot; sMsgFreeStock = &quot;S&apos;agit-il d&apos;actions gratuites ?&quot;
sMsgTotalLoss = &quot;Prévoyez-vous une perte totale ?&quot; sMsgTotalLoss = &quot;Prévoyez-vous une perte totale ?&quot;
sMsgAuthorization = &quot;Requête de sécurité&quot; sMsgAuthorization = &quot;Requête de sécurité&quot;
@@ -172,4 +172,4 @@ Sub LoadFrenchLanguage()
.cmdCancel.Label = sCancel .cmdCancel.Label = sCancel
End With End With
End Sub End Sub
</script:module> </script:module>

View File

@@ -132,7 +132,7 @@ Sub RejectPassword()
End Sub End Sub
&apos; Reprotects the previousliy protected sheets &apos; Reprotects the previously protected sheets
&apos; The password information is stored in the List &apos;UnProtectList()&apos; &apos; The password information is stored in the List &apos;UnProtectList()&apos;
Sub ReprotectSheets() Sub ReprotectSheets()
Dim i as Integer Dim i as Integer

View File

@@ -295,7 +295,7 @@ Dim sPrevMimeTypeorExtension as String
Exit Sub Exit Sub
End If End If
TotFound = Ubound(FilesList()) + 1 TotFound = Ubound(FilesList()) + 1
If FilesList(0,0) = &quot;&quot; Then &apos; Querying the number of fields in a multidimensionl Array is unsecure If FilesList(0,0) = &quot;&quot; Then &apos; Querying the number of fields in a multidimensional Array is unsecure
TotFound = 0 &apos; because it will return the value 0 (and not -1) even when the Array is empty TotFound = 0 &apos; because it will return the value 0 (and not -1) even when the Array is empty
SetProgressDisplay(0) SetProgressDisplay(0)
End If End If

View File

@@ -270,7 +270,7 @@ public:
Receives table. Receives table.
@param name name of the table @param name name of the table
@param ref referecne to the table @param ref reference to the table
*/ */
virtual void table(Id name, virtual void table(Id name,
writerfilter::Reference<Table>::Pointer_t ref) = 0; writerfilter::Reference<Table>::Pointer_t ref) = 0;

View File

@@ -1088,7 +1088,7 @@ void GraphicImport::lcl_sprm(Sprm& rSprm)
} }
break; break;
case NS_ooxml::LN_EG_WrapType_wrapNone: // 90944; - doesn't contain attributes case NS_ooxml::LN_EG_WrapType_wrapNone: // 90944; - doesn't contain attributes
//depending on the behindDoc attribute text wraps through behind or in fron of the object //depending on the behindDoc attribute text wraps through behind or in front of the object
m_pImpl->nWrap = text::WrapTextMode_THROUGHT; m_pImpl->nWrap = text::WrapTextMode_THROUGHT;
break; break;
case NS_ooxml::LN_EG_WrapType_wrapTopAndBottom: // 90948; case NS_ooxml::LN_EG_WrapType_wrapTopAndBottom: // 90948;

View File

@@ -41,7 +41,7 @@ RTFEncoding aRTFEncodings[] =
{136, 950}, // Big5 {136, 950}, // Big5
{161, 1253}, // Greek {161, 1253}, // Greek
{162, 1254}, // Turkish {162, 1254}, // Turkish
{163, 1258}, // Viatnamese {163, 1258}, // Vietnamese
{177, 1255}, // Herbrew {177, 1255}, // Herbrew
{178, 1256}, // Arabic {178, 1256}, // Arabic
{186, 1257}, // Baltic {186, 1257}, // Baltic

View File

@@ -1992,7 +1992,7 @@ enum RTFControlTypes
CONTROL_VALUE // eg \fs (requires parameter) CONTROL_VALUE // eg \fs (requires parameter)
}; };
/// Respresents an RTF Control Word /// Represents an RTF Control Word
struct RTFSymbol struct RTFSymbol
{ {
const char* sKeyword; const char* sKeyword;
@@ -2005,7 +2005,7 @@ struct RTFSymbol
extern RTFSymbol aRTFControlWords[]; extern RTFSymbol aRTFControlWords[];
extern int nRTFControlWords; extern int nRTFControlWords;
/// Respresents an RTF Math Control Word /// Represents an RTF Math Control Word
struct RTFMathSymbol struct RTFMathSymbol
{ {
RTFKeyword eKeyword; RTFKeyword eKeyword;

View File

@@ -122,18 +122,18 @@ bool SAL_CALL WordPerfectImportFilter::importImpl(const Sequence< css::beans::Pr
break; break;
else else
unsuccessfulAttempts++; unsuccessfulAttempts++;
if (unsuccessfulAttempts == 3) // timeout after 3 password atempts if (unsuccessfulAttempts == 3) // timeout after 3 password attempts
return false; return false;
} }
} }
// An XML import service: what we push sax messages to.. // An XML import service: what we push sax messages to.
Reference < XDocumentHandler > xInternalHandler( Reference < XDocumentHandler > xInternalHandler(
mxContext->getServiceManager()->createInstanceWithContext( mxContext->getServiceManager()->createInstanceWithContext(
"com.sun.star.comp.Writer.XMLOasisImporter", mxContext), "com.sun.star.comp.Writer.XMLOasisImporter", mxContext),
css::uno::UNO_QUERY_THROW); css::uno::UNO_QUERY_THROW);
// The XImporter sets up an empty target document for XDocumentHandler to write to.. // The XImporter sets up an empty target document for XDocumentHandler to write to.
Reference < XImporter > xImporter(xInternalHandler, UNO_QUERY); Reference < XImporter > xImporter(xInternalHandler, UNO_QUERY);
xImporter->setTargetDocument(mxDoc); xImporter->setTargetDocument(mxDoc);