[Libreoffice-commits] core.git: winaccessibility/source wizards/com wizards/source writerfilter/inc writerfilter/source writerperfect/source
Andrea Gelmini
andrea.gelmini at gelma.net
Sat Mar 25 16:03:15 UTC 2017
winaccessibility/source/UAccCOM/MAccessible.cxx | 2 +-
wizards/com/sun/star/wizards/agenda/AgendaDocument.py | 4 ++--
wizards/com/sun/star/wizards/agenda/TemplateConsts.py | 2 +-
wizards/com/sun/star/wizards/agenda/TopicsControl.py | 2 +-
wizards/com/sun/star/wizards/form/DataEntrySetter.java | 2 +-
wizards/com/sun/star/wizards/ui/event/DataAware.py | 2 +-
wizards/source/access2base/Application.xba | 4 ++--
wizards/source/access2base/Recordset.xba | 4 ++--
wizards/source/access2base/Utils.xba | 4 ++--
wizards/source/depot/Lang_fr.xba | 4 ++--
wizards/source/euro/Protect.xba | 2 +-
wizards/source/importwizard/FilesModul.xba | 2 +-
writerfilter/inc/dmapper/resourcemodel.hxx | 2 +-
writerfilter/source/dmapper/GraphicImport.cxx | 2 +-
writerfilter/source/rtftok/rtfcharsets.cxx | 2 +-
writerfilter/source/rtftok/rtfcontrolwords.hxx | 4 ++--
writerperfect/source/writer/WordPerfectImportFilter.cxx | 6 +++---
17 files changed, 25 insertions(+), 25 deletions(-)
New commits:
commit 370c65e709eb074c9982c56a2400cf945641ffaf
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Fri Mar 24 15:37:27 2017 +0100
Fix typos
Change-Id: I80b6d080aa31ff8b9d043b983993f4d26d8dc87c
Reviewed-on: https://gerrit.libreoffice.org/35662
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx
index 9b82e5857840..744215440788 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.cxx
+++ b/winaccessibility/source/UAccCOM/MAccessible.cxx
@@ -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.
* @return S_OK if successful.
*/
diff --git a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
index 42b0751799d7..a980e60d4959 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaDocument.py
@@ -63,7 +63,7 @@ No column merge is allowed.<br/>
One compulsory Heading row.<br/>
<br/><br/>
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
<br/><br/>
A note about threads:<br/>
@@ -700,7 +700,7 @@ class ItemsTable(object):
This class handles the preview 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 -
-the update is done programttically.<br/>
+the update is done programmatically.<br/>
<br/>
The decision to make this class a class by its own
was done out of logic reasons and not design/functionality reasons,
diff --git a/wizards/com/sun/star/wizards/agenda/TemplateConsts.py b/wizards/com/sun/star/wizards/agenda/TemplateConsts.py
index eb0d0b02e531..15acff1aa08a 100644
--- a/wizards/com/sun/star/wizards/agenda/TemplateConsts.py
+++ b/wizards/com/sun/star/wizards/agenda/TemplateConsts.py
@@ -37,7 +37,7 @@ class TemplateConsts:
'''
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.
'''
SECTION_MINUTES = "MINUTES"
diff --git a/wizards/com/sun/star/wizards/agenda/TopicsControl.py b/wizards/com/sun/star/wizards/agenda/TopicsControl.py
index 149faba9c840..cc42aa95552a 100644
--- a/wizards/com/sun/star/wizards/agenda/TopicsControl.py
+++ b/wizards/com/sun/star/wizards/agenda/TopicsControl.py
@@ -57,7 +57,7 @@ This control relays on the ControlScroller control which uses the following
Data model:<br/>
1. It uses a vector, whose members are arrays of PropertyValue.<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
for a single control with the following rules:<br/>
3. a. the Value of the property is used for as value
diff --git a/wizards/com/sun/star/wizards/form/DataEntrySetter.java b/wizards/com/sun/star/wizards/form/DataEntrySetter.java
index f653bf322a46..8bebe54f859e 100644
--- a/wizards/com/sun/star/wizards/form/DataEntrySetter.java
+++ b/wizards/com/sun/star/wizards/form/DataEntrySetter.java
@@ -45,7 +45,7 @@ public class DataEntrySetter
String sDisplayAllData = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 46);
String sNoModification = CurUnoDialog.m_oResource.getResText(UIConsts.RID_FORM + 47); // AllowUpdates
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);
CurUnoDialog.insertRadioButton("optNewDataOnly", new XItemListenerAdapter() {
diff --git a/wizards/com/sun/star/wizards/ui/event/DataAware.py b/wizards/com/sun/star/wizards/ui/event/DataAware.py
index 74ff09415f2d..ac121029e38c 100644
--- a/wizards/com/sun/star/wizards/ui/event/DataAware.py
+++ b/wizards/com/sun/star/wizards/ui/event/DataAware.py
@@ -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,
and leaving the UI get/set methods abstract.
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.
<br><br>
This class holds references to a Data Object and a Value object.
diff --git a/wizards/source/access2base/Application.xba b/wizards/source/access2base/Application.xba
index a972b3ca6bab..9fc7308955cb 100644
--- a/wizards/source/access2base/Application.xba
+++ b/wizards/source/access2base/Application.xba
@@ -427,7 +427,7 @@ Const cstDot = "."
If Not Utils._CheckArgument(pvIndex, 1, Utils._AddNumeric(vbString)) Then Goto Exit_Function
If VarType(pvIndex) = vbString Then
iMode = cstByName
- ' Dtermine full name STORAGE.LIBRARY.MODULE
+ ' Determine full name STORAGE.LIBRARY.MODULE
vNames = Split(pvIndex, cstDot)
If UBound(vNames) = 2 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_
End Sub ' _RootInit V1.1.0
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/access2base/Recordset.xba b/wizards/source/access2base/Recordset.xba
index b3b611359618..aeb7c1aaa416 100644
--- a/wizards/source/access2base/Recordset.xba
+++ b/wizards/source/access2base/Recordset.xba
@@ -686,7 +686,7 @@ Public Function OpenRecordset(ByVal Optional pvType As Variant _
, ByVal Optional pvOptions As Variant _
, ByVal Optional pvLockEdit As Variant _
, ByVal Optional pbClone As Boolean) As Object
-'Return a Recordset object based on currentrecordset object with filter addition
+'Return a Recordset object based on current recordset object with filter addition
If _ErrorHandler() Then On Local Error Goto Error_Function
Dim cstThisSub As String
@@ -1267,4 +1267,4 @@ Error_Function:
_PropertySet = False
GoTo Exit_Function
End Function ' _PropertySet
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/access2base/Utils.xba b/wizards/source/access2base/Utils.xba
index 1d7cd1dcc970..c4ec1cae71f0 100644
--- a/wizards/source/access2base/Utils.xba
+++ b/wizards/source/access2base/Utils.xba
@@ -849,7 +849,7 @@ Dim lChar As Long, sByte1 As String, sByte2 As String, sByte3 As String
_PercentEncode = psChar
Case Asc("-"), Asc("."), Asc("_"), Asc("~")
_PercentEncode = psChar
- Case Asc("!"), Asc("$"), Asc("&"), Asc("'"), Asc("("), Asc(")"), Asc("*"), Asc("+"), Asc(","), Asc(";"), Asc("=") ' Reserved characters used as delimitors in query strings
+ Case Asc("!"), Asc("$"), Asc("&"), Asc("'"), Asc("("), Asc(")"), Asc("*"), Asc("+"), Asc(","), Asc(";"), Asc("=") ' Reserved characters used as delimiters in query strings
_PercentEncode = psChar
Case Asc(" "), Asc("%")
_PercentEncode = "%" & Right("00" & Hex(lChar), 2)
@@ -1264,4 +1264,4 @@ Private Function _UTF8Encode(ByVal psChar As String) As String
End Function ' _UTF8Encode V1.4.0
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/depot/Lang_fr.xba b/wizards/source/depot/Lang_fr.xba
index 4af880e63c69..27f9a685cc29 100644
--- a/wizards/source/depot/Lang_fr.xba
+++ b/wizards/source/depot/Lang_fr.xba
@@ -36,7 +36,7 @@ Sub LoadFrenchLanguage()
sMsgNoValidExchangeDate = "Saisissez une date correcte pour le split d'action."
sMsgWrongExchangeDate = "Split impossible car il y a déjà eu des transactions après la date du split !"
sMsgSellTooMuch = "Impossible de vendre autant d'actions ! Maximum : "
- sMsgConfirm = "Confirmation requise"
+ sMsgConfirm = "Confirmation required"
sMsgFreeStock = "S'agit-il d'actions gratuites ?"
sMsgTotalLoss = "Prévoyez-vous une perte totale ?"
sMsgAuthorization = "Requête de sécurité"
@@ -172,4 +172,4 @@ Sub LoadFrenchLanguage()
.cmdCancel.Label = sCancel
End With
End Sub
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/euro/Protect.xba b/wizards/source/euro/Protect.xba
index 68ffc72f18ce..4a9cac577078 100644
--- a/wizards/source/euro/Protect.xba
+++ b/wizards/source/euro/Protect.xba
@@ -132,7 +132,7 @@ Sub RejectPassword()
End Sub
-' Reprotects the previousliy protected sheets
+' Reprotects the previously protected sheets
' The password information is stored in the List 'UnProtectList()'
Sub ReprotectSheets()
Dim i as Integer
diff --git a/wizards/source/importwizard/FilesModul.xba b/wizards/source/importwizard/FilesModul.xba
index 1e6363f43099..31a4cbc03b3c 100644
--- a/wizards/source/importwizard/FilesModul.xba
+++ b/wizards/source/importwizard/FilesModul.xba
@@ -295,7 +295,7 @@ Dim sPrevMimeTypeorExtension as String
Exit Sub
End If
TotFound = Ubound(FilesList()) + 1
- If FilesList(0,0) = "" Then ' Querying the number of fields in a multidimensionl Array is unsecure
+ If FilesList(0,0) = "" Then ' Querying the number of fields in a multidimensional Array is unsecure
TotFound = 0 ' because it will return the value 0 (and not -1) even when the Array is empty
SetProgressDisplay(0)
End If
diff --git a/writerfilter/inc/dmapper/resourcemodel.hxx b/writerfilter/inc/dmapper/resourcemodel.hxx
index 252d83375c69..ca3e022c4ce5 100644
--- a/writerfilter/inc/dmapper/resourcemodel.hxx
+++ b/writerfilter/inc/dmapper/resourcemodel.hxx
@@ -270,7 +270,7 @@ public:
Receives table.
@param name name of the table
- @param ref referecne to the table
+ @param ref reference to the table
*/
virtual void table(Id name,
writerfilter::Reference<Table>::Pointer_t ref) = 0;
diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx
index df4cd575b0f6..564221979261 100644
--- a/writerfilter/source/dmapper/GraphicImport.cxx
+++ b/writerfilter/source/dmapper/GraphicImport.cxx
@@ -1088,7 +1088,7 @@ void GraphicImport::lcl_sprm(Sprm& rSprm)
}
break;
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;
break;
case NS_ooxml::LN_EG_WrapType_wrapTopAndBottom: // 90948;
diff --git a/writerfilter/source/rtftok/rtfcharsets.cxx b/writerfilter/source/rtftok/rtfcharsets.cxx
index 9e84b1e6a4c2..583691ee91bb 100644
--- a/writerfilter/source/rtftok/rtfcharsets.cxx
+++ b/writerfilter/source/rtftok/rtfcharsets.cxx
@@ -41,7 +41,7 @@ RTFEncoding aRTFEncodings[] =
{136, 950}, // Big5
{161, 1253}, // Greek
{162, 1254}, // Turkish
- {163, 1258}, // Viatnamese
+ {163, 1258}, // Vietnamese
{177, 1255}, // Herbrew
{178, 1256}, // Arabic
{186, 1257}, // Baltic
diff --git a/writerfilter/source/rtftok/rtfcontrolwords.hxx b/writerfilter/source/rtftok/rtfcontrolwords.hxx
index 2a7d5967148e..9d31151fa9c9 100644
--- a/writerfilter/source/rtftok/rtfcontrolwords.hxx
+++ b/writerfilter/source/rtftok/rtfcontrolwords.hxx
@@ -1992,7 +1992,7 @@ enum RTFControlTypes
CONTROL_VALUE // eg \fs (requires parameter)
};
-/// Respresents an RTF Control Word
+/// Represents an RTF Control Word
struct RTFSymbol
{
const char* sKeyword;
@@ -2005,7 +2005,7 @@ struct RTFSymbol
extern RTFSymbol aRTFControlWords[];
extern int nRTFControlWords;
-/// Respresents an RTF Math Control Word
+/// Represents an RTF Math Control Word
struct RTFMathSymbol
{
RTFKeyword eKeyword;
diff --git a/writerperfect/source/writer/WordPerfectImportFilter.cxx b/writerperfect/source/writer/WordPerfectImportFilter.cxx
index 74f050772afe..cba9a9b96f22 100644
--- a/writerperfect/source/writer/WordPerfectImportFilter.cxx
+++ b/writerperfect/source/writer/WordPerfectImportFilter.cxx
@@ -122,18 +122,18 @@ bool SAL_CALL WordPerfectImportFilter::importImpl(const Sequence< css::beans::Pr
break;
else
unsuccessfulAttempts++;
- if (unsuccessfulAttempts == 3) // timeout after 3 password atempts
+ if (unsuccessfulAttempts == 3) // timeout after 3 password attempts
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(
mxContext->getServiceManager()->createInstanceWithContext(
"com.sun.star.comp.Writer.XMLOasisImporter", mxContext),
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);
xImporter->setTargetDocument(mxDoc);
More information about the Libreoffice-commits
mailing list