summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-24 19:48:51 +0200
committerAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-24 23:34:49 +0200
commitafad1a0cbc893291ea32baa7234c4ed7a5ffcf80 (patch)
tree5cbda7f60e7d3efb1cb6d939a40efee08e434167
parent30320abbef8fabfeadda2b31b72f595c4a1c1ed9 (diff)
Fix typos
Change-Id: Ib778a6598f3797fe871a25b56b7b4b7761889296 Reviewed-on: https://gerrit.libreoffice.org/76269 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
-rw-r--r--basic/source/classes/sbunoobj.cxx2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java2
-rw-r--r--scaddins/source/datefunc/datefunc.cxx2
-rw-r--r--sdext/source/pdfimport/tree/writertreevisiting.cxx2
-rw-r--r--svx/source/table/tablelayouter.cxx2
-rw-r--r--svx/source/table/tablelayouter.hxx2
-rw-r--r--sw/source/filter/html/htmlatr.cxx2
-rw-r--r--sw/source/uibase/shells/textsh1.cxx2
-rw-r--r--vcl/unx/generic/print/common_gfx.cxx2
-rw-r--r--xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/DocumentMergerImpl.java2
-rw-r--r--xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentMergerImpl.java2
-rw-r--r--xmloff/inc/xmlmultiimagehelper.hxx2
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx2
-rw-r--r--xmloff/source/script/XMLEventImportHelper.cxx2
-rw-r--r--xmlsecurity/inc/framework/saxeventkeeperimpl.hxx6
-rw-r--r--xmlsecurity/inc/framework/securityengine.hxx2
-rw-r--r--xmlsecurity/source/framework/buffernode.cxx6
-rw-r--r--xmlsecurity/source/framework/buffernode.hxx14
-rw-r--r--xmlsecurity/source/framework/elementcollector.cxx4
-rw-r--r--xmlsecurity/source/framework/elementmark.cxx4
-rw-r--r--xmlsecurity/source/framework/saxeventkeeperimpl.cxx2
-rw-r--r--xmlsecurity/source/framework/signatureengine.cxx2
-rw-r--r--xmlsecurity/source/helper/xsecctl.cxx2
24 files changed, 36 insertions, 36 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index c4bec7580d48..321ac7faedeb 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -1011,7 +1011,7 @@ static Any sbxToUnoValueImpl( const SbxValue* pVar, bool bBlockConversionToSmall
if( !bBlockConversionToSmallestType )
{
- // #79615 Choose "smallest" represention for int values
+ // #79615 Choose "smallest" representation for int values
// because up cast is allowed, downcast not
switch( eType )
{
diff --git a/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetFactory.java b/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetFactory.java
index 595033744c2e..814f4a9436f3 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetFactory.java
@@ -36,7 +36,7 @@ import com.sun.star.ucb.XDynamicResultSet;
* <ul>
* <li> <code>'CachedDynamicResultSetStub'</code> (of type
* <code>com.sun.star.sdbc.XDynamicResultSet</code>):
-* this must be an imlementation of <code>
+* this must be an implementation of <code>
* com.sun.star.ucb.CachedDynamicResultSetStub</code> service.</li>
* <ul> <p>
* Test is <b> NOT </b> multithread compliant. <p>
diff --git a/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java b/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java
index b0c91ffdc74e..ac505faf4435 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java
@@ -39,7 +39,7 @@ import com.sun.star.uno.UnoRuntime;
* <ul>
* <li> <code>'DynamicResultSet'</code> (of type
* <code>com.sun.star.sdbc.XDynamicResultSet</code>):
-* this must be an imlementation of <code>
+* this must be an implementation of <code>
* com.sun.star.ucb.DynamicResultSet</code> service.</li>
* <ul> <p>
* Test is <b> NOT </b> multithread compliant. <p>
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index 3011ccb32480..e09f871c8ae1 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -704,7 +704,7 @@ sal_Int32 SAL_CALL ScaDateAddIn::getDaysInYear(
* shall be the first day of the week.
*
* A WeekDay can be calculated by subtracting 1 and calculating the rest of
- * a division by 7 from the internal date represention
+ * a division by 7 from the internal date representation
* which gives a 0 - 6 value for Monday - Sunday
*
* @see #IsLeapYear #WeekNumber
diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx
index 96b9e4bcfab9..1025d3fb74c0 100644
--- a/sdext/source/pdfimport/tree/writertreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx
@@ -653,7 +653,7 @@ void WriterXmlOptimizer::visit( PageElement& elem, const std::list< std::unique_
void WriterXmlOptimizer::checkHeaderAndFooter( PageElement& rElem )
{
/* indicators for a header:
- * - single line paragrah at top of page ( inside 15% page height)
+ * - single line paragraph at top of page (inside 15% page height)
* - at least lineheight above the next paragraph
*
* indicators for a footer likewise:
diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx
index 31f11e2e083a..6d19cba01820 100644
--- a/svx/source/table/tablelayouter.cxx
+++ b/svx/source/table/tablelayouter.cxx
@@ -851,7 +851,7 @@ void TableLayouter::LayoutTableHeight( tools::Rectangle& rArea, bool bFit )
/** try to fit the table into the given rectangle.
- If the rectangle is to small, it will be grown to fit the table. */
+ If the rectangle is too small, it will be grown to fit the table. */
void TableLayouter::LayoutTable( tools::Rectangle& rRectangle, bool bFitWidth, bool bFitHeight )
{
if( !mxTable.is() )
diff --git a/svx/source/table/tablelayouter.hxx b/svx/source/table/tablelayouter.hxx
index f6fa7af167f0..11e43ae7fe43 100644
--- a/svx/source/table/tablelayouter.hxx
+++ b/svx/source/table/tablelayouter.hxx
@@ -59,7 +59,7 @@ public:
~TableLayouter();
/** try to fit the table into the given rectangle.
- If the rectangle is to small, it will be grown to fit the table.
+ If the rectangle is too small, it will be grown to fit the table.
if bFitWidth or bFitHeight is set, the layouter tries to scale
the rows and/or columns to the given area. The result my be bigger
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index d73f91572513..56bf878addad 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -799,7 +799,7 @@ static void OutHTML_SwFormat( Writer& rWrt, const SwFormat& rFormat,
rHWrt.OutNewLine();
}
- // for BLOCKQUOTE, ADDRESS and DD we output another paragrah token, if
+ // for BLOCKQUOTE, ADDRESS and DD we output another paragraph token, if
// - no styles are written and
// - a lower spacing or a paragraph alignment exists
OString aToken = rInfo.aToken;
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx
index 9a92fc9f438b..2e85fb6bf9db 100644
--- a/sw/source/uibase/shells/textsh1.cxx
+++ b/sw/source/uibase/shells/textsh1.cxx
@@ -1562,7 +1562,7 @@ void SwTextShell::GetState( SfxItemSet &rSet )
case SID_DEC_INDENT:
case SID_INC_INDENT:
{
- //if the paragrah has bullet we'll do the following things:
+ //if the paragraph has bullet we'll do the following things:
//1: if the bullet level is the first level, disable the decrease-indent button
//2: if the bullet level is the last level, disable the increase-indent button
if ( rSh.GetNumRuleAtCurrCursorPos() && !rSh.HasReadonlySel() )
diff --git a/vcl/unx/generic/print/common_gfx.cxx b/vcl/unx/generic/print/common_gfx.cxx
index b2bde146b3bc..39d5e0ceb38c 100644
--- a/vcl/unx/generic/print/common_gfx.cxx
+++ b/vcl/unx/generic/print/common_gfx.cxx
@@ -919,7 +919,7 @@ PrinterGfx::PSBinPath (const Point& rCurrent, Point& rOld,
sal_Int32 nXPrec = getAlignedHexValueOf (rCurrent.X() - rOld.X(), pPath);
sal_Int32 nYPrec = getAlignedHexValueOf (rCurrent.Y() - rOld.Y(), pPath);
- // build the command, it is a char with bit represention 000cxxyy
+ // build the command, it is a char with bit representation 000cxxyy
// c represents the char, xx and yy repr. the field width of the dx and dy shift,
// dx and dy represent the number of bytes to read after the opcode
sal_Char cCmd = (eType == lineto ? sal_Char(0x00) : sal_Char(0x10));
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/DocumentMergerImpl.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/DocumentMergerImpl.java
index c086439bbdec..e768a3cac4f6 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/DocumentMergerImpl.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/DocumentMergerImpl.java
@@ -98,7 +98,7 @@ public class DocumentMergerImpl implements DocumentMerger {
// find out the diff
DiffAlgorithm diffAlgo = new IteratorRowCompare();
- // find out the paragrah level diffs
+ // find out the paragraph level diffs
Difference[] diffResult = diffAlgo.computeDiffs(i1, i2);
if (Debug.isFlagSet(Debug.INFO)) {
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentMergerImpl.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentMergerImpl.java
index a4bcd770ddb0..215e806e24bb 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentMergerImpl.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentMergerImpl.java
@@ -60,7 +60,7 @@ public class DocumentMergerImpl implements DocumentMerger {
DiffAlgorithm diffAlgo = new IteratorLCSAlgorithm();
- // find out the paragrah level diffs
+ // find out the paragraph level diffs
Difference[] diffTable = diffAlgo.computeDiffs(i1, i2);
if (Debug.isFlagSet(Debug.INFO)) {
diff --git a/xmloff/inc/xmlmultiimagehelper.hxx b/xmloff/inc/xmlmultiimagehelper.hxx
index 90a279c083d2..1a4956929812 100644
--- a/xmloff/inc/xmlmultiimagehelper.hxx
+++ b/xmloff/inc/xmlmultiimagehelper.hxx
@@ -41,7 +41,7 @@ public:
virtual ~MultiImageImportHelper();
/// solve multiple imported images. The most valuable one is chosen,
- /// see imlementation for evtl. changing weights and/or adding filetypes.
+ /// see implementation for evtl. changing weights and/or adding filetypes.
///
/// @returns import context of the selected image
SvXMLImportContextRef solveMultipleImages();
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index c898c9514fdc..0f8cf19221bc 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -1194,7 +1194,7 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >
if( eXMLChartType == XML_ADD_IN )
{
- // sChartType is the servie-name of the add-in
+ // sChartType is the service-name of the add-in
mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_CLASS,
mrExport.GetNamespaceMap().GetQNameByKey(
XML_NAMESPACE_OOO, sChartType) );
diff --git a/xmloff/source/script/XMLEventImportHelper.cxx b/xmloff/source/script/XMLEventImportHelper.cxx
index 26048e86bacf..ffc6089cc7d5 100644
--- a/xmloff/source/script/XMLEventImportHelper.cxx
+++ b/xmloff/source/script/XMLEventImportHelper.cxx
@@ -109,7 +109,7 @@ SvXMLImportContext* XMLEventImportHelper::CreateContext(
{
SvXMLImportContext* pContext = nullptr;
- // translate event name form xml to api
+ // translate event name from xml to api
OUString sMacroName;
sal_uInt16 nMacroPrefix =
rImport.GetNamespaceMap().GetKeyByAttrName( rXmlEventName,
diff --git a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
index 04994cca63a5..811c620423fe 100644
--- a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
+++ b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
@@ -55,13 +55,13 @@ class XMLSECURITY_DLLPUBLIC SAXEventKeeperImpl : public cppu::WeakImplHelper
* SAXEventKeeperImpl -- SAX events buffer controller
*
* FUNCTION
- * Controls SAX events to be bufferred, and controls bufferred SAX events
+ * Controls SAX events to be buffered, and controls buffered SAX events
* to be released.
******************************************************************************/
{
private:
/*
- * the XMLDocumentWrapper component which maintains all bufferred SAX
+ * the XMLDocumentWrapper component which maintains all buffered SAX
* in DOM format.
*/
css::uno::Reference< css::xml::wrapper::XXMLDocumentWrapper >
@@ -92,7 +92,7 @@ private:
/*
* the root node of the BufferNode tree.
- * the BufferNode tree is used to keep track of all bufferred elements,
+ * the BufferNode tree is used to keep track of all buffered elements,
* it has the same structure with the document which maintains those
* elements physically.
*/
diff --git a/xmlsecurity/inc/framework/securityengine.hxx b/xmlsecurity/inc/framework/securityengine.hxx
index 6e40d7fd8b53..50cec2d4b8b8 100644
--- a/xmlsecurity/inc/framework/securityengine.hxx
+++ b/xmlsecurity/inc/framework/securityengine.hxx
@@ -64,7 +64,7 @@ protected:
sal_Int32 m_nIdOfTemplateEC;
/*
- * remembers how many referenced elements have been bufferred completely,
+ * remembers how many referenced elements have been buffered completely,
* including the key element, template element, and referenced element of
* signature.
*/
diff --git a/xmlsecurity/source/framework/buffernode.cxx b/xmlsecurity/source/framework/buffernode.cxx
index 84922843baea..dfffa6650c5b 100644
--- a/xmlsecurity/source/framework/buffernode.cxx
+++ b/xmlsecurity/source/framework/buffernode.cxx
@@ -76,7 +76,7 @@ void BufferNode::setReceivedAll()
*
* NAME
* setReceivedAll -- indicates that the element in this BufferNode has
- * been completely bufferred.
+ * been completely buffered.
*
* SYNOPSIS
* setReceivedAll();
@@ -707,13 +707,13 @@ void BufferNode::elementCollectorNotify()
!isBlockerInSubTreeIncluded(pElementCollector->getSecurityId())))
{
/*
- * If this ElementCollector will modify the bufferred element, then
+ * If this ElementCollector will modify the buffered element, then
* special attention must be paid.
*
* If there is any ElementCollector in the subtree or any ancestor
* ElementCollector with PRI_BEFPREMODIFY priority, this
* ElementCollector can't perform notify operation, otherwise, it
- * will destroy the bufferred element, in turn, ElementCollectors
+ * will destroy the buffered element, in turn, ElementCollectors
* mentioned above can't perform their mission.
*/
//if (!(nMaxPriority == cssxc::sax::ElementMarkPriority_PRI_MODIFY &&
diff --git a/xmlsecurity/source/framework/buffernode.hxx b/xmlsecurity/source/framework/buffernode.hxx
index 1b8e6f8574e9..e3cabd97e955 100644
--- a/xmlsecurity/source/framework/buffernode.hxx
+++ b/xmlsecurity/source/framework/buffernode.hxx
@@ -34,16 +34,16 @@ class BufferNode final
/****** buffernode.hxx/CLASS BufferNode ***************************************
*
* NAME
- * BufferNode -- Class to maintain the tree of bufferred elements
+ * BufferNode -- Class to maintain the tree of buffered elements
*
* FUNCTION
- * One BufferNode object represents a bufferred element in the document
+ * One BufferNode object represents a buffered element in the document
* wrapper component.
* All BufferNode objects construct a tree which has the same structure
- * of all bufferred elements. That is to say, if one bufferred element is
- * an ancestor of another bufferred element, then the corresponding
+ * of all buffered elements. That is to say, if one buffered element is
+ * an ancestor of another buffered element, then the corresponding
* BufferNode objects are also in ancestor/descendant relationship.
- * This class is used to manipulate the tree of bufferred elements.
+ * This class is used to manipulate the tree of buffered elements.
******************************************************************************/
{
private:
@@ -63,12 +63,12 @@ private:
ElementMark* m_pBlocker;
/*
- * whether the element has completely bufferred by the document wrapper
+ * whether the element has completely buffered by the document wrapper
* component
*/
bool m_bAllReceived;
- /* the XMLElementWrapper of the bufferred element */
+ /* the XMLElementWrapper of the buffered element */
css::uno::Reference< css::xml::wrapper::XXMLElementWrapper > m_xXMLElement;
private:
diff --git a/xmlsecurity/source/framework/elementcollector.cxx b/xmlsecurity/source/framework/elementcollector.cxx
index 18e0646ed75e..80581d1c2029 100644
--- a/xmlsecurity/source/framework/elementcollector.cxx
+++ b/xmlsecurity/source/framework/elementcollector.cxx
@@ -53,9 +53,9 @@ ElementCollector::ElementCollector(
* nSecurityId - represents which security entity the buffer node is
* related with. Either a signature or an encryption is
* a security entity.
- * nBufferId - the id of the element bufferred in the document
+ * nBufferId - the id of the element buffered in the document
* wrapper component. The document wrapper component
- * uses this id to search the particular bufferred
+ * uses this id to search the particular buffered
* element.
* nPriority - the priority value. ElementCollector with lower
* priority value can't notify until all ElementCollectors
diff --git a/xmlsecurity/source/framework/elementmark.cxx b/xmlsecurity/source/framework/elementmark.cxx
index 06fe9dd5ec6d..c333527f42b2 100644
--- a/xmlsecurity/source/framework/elementmark.cxx
+++ b/xmlsecurity/source/framework/elementmark.cxx
@@ -42,9 +42,9 @@ ElementMark::ElementMark(sal_Int32 nSecurityId, sal_Int32 nBufferId)
* nSecurityId - represents which security entity the buffer node is
* related with. Either a signature or an encryption is
* a security entity.
- * nBufferId - the id of the element bufferred in the document
+ * nBufferId - the id of the element buffered in the document
* wrapper component. The document wrapper component
- * uses this id to search the particular bufferred
+ * uses this id to search the particular buffered
* element.
******************************************************************************/
{
diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
index 775e2e0a40db..a0d77ce3fcef 100644
--- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
+++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
@@ -392,7 +392,7 @@ void SAXEventKeeperImpl::smashBufferNode(
* by any other ElementCollector or Blocker.
* When the bClearRoot is set to true, the root BufferNode will be first
* cleared, with a stop flag setting at the next Blocking BufferNode. This
- * operation can delete all useless bufferred SAX events which are only
+ * operation can delete all useless buffered SAX events which are only
* needed by the Blocker to be deleted.
******************************************************************************/
{
diff --git a/xmlsecurity/source/framework/signatureengine.cxx b/xmlsecurity/source/framework/signatureengine.cxx
index 3e74a7b25452..ff1025e9d783 100644
--- a/xmlsecurity/source/framework/signatureengine.cxx
+++ b/xmlsecurity/source/framework/signatureengine.cxx
@@ -49,7 +49,7 @@ bool SignatureEngine::checkReady() const
* 2. the key material is known;
* 3. the amount of reference is known;
* 4. all of referenced elements, the key element and the signature
- * template are bufferred.
+ * template are buffered.
*
* RESULT
* bReady - true if all conditions are satisfied, false otherwise
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx
index d5f3da1c26f8..83396b5e7312 100644
--- a/xmlsecurity/source/helper/xsecctl.cxx
+++ b/xmlsecurity/source/helper/xsecctl.cxx
@@ -232,7 +232,7 @@ bool XSecController::chainOn()
* creates xml security components, and chains the SAXEventKeeper into
* the SAX chain.
* Before being chained in, the SAXEventKeeper needs to receive all
- * missed key SAX events, which can promise the DOM tree bufferred by the
+ * missed key SAX events, which can promise the DOM tree buffered by the
* SAXEventKeeper has the same structure with the original document.
*
* RESULT