summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-11 18:48:45 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 11:23:43 +0200
commita47569aca50a4bac0613811f44cef516a24553d0 (patch)
treeed6fe241431323bdc928e9382f88208d503e90d1
parentf9c57222e7f108ba68f3910a5c8f007476ce6552 (diff)
Fix typos
Change-Id: I0ca6c4057c382fa4c025410c1c8e143feb1348c5 Reviewed-on: https://gerrit.libreoffice.org/77296 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--sc/source/filter/xml/XMLStylesExportHelper.cxx2
-rw-r--r--sc/source/filter/xml/sheetdata.cxx2
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx4
-rw-r--r--sc/source/ui/Accessibility/AccessibleCell.cxx2
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx2
-rw-r--r--sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx2
-rw-r--r--sc/source/ui/Accessibility/AccessibleTableBase.cxx8
-rw-r--r--sc/source/ui/Accessibility/AccessibleText.cxx6
8 files changed, 14 insertions, 14 deletions
diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx
index 9cc648340a3c..1dfa16ee8f9a 100644
--- a/sc/source/filter/xml/XMLStylesExportHelper.cxx
+++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx
@@ -606,7 +606,7 @@ void ScRowFormatRanges::AddRange(const ScMyRowFormatRange& rFormatRange)
sal_uInt32 nEnd = nPrevStartCol + rFormatRange.nRepeatColumns;
for(sal_uInt32 i = nPrevStartCol + nRepeat; i < nEnd && i < pColDefaults->size(); i += (*pColDefaults)[i].nRepeat)
{
- OSL_ENSURE(sal_uInt32(nPrevStartCol + nRepeat) <= nEnd, "something wents wrong");
+ OSL_ENSURE(sal_uInt32(nPrevStartCol + nRepeat) <= nEnd, "something went wrong");
if ((nPrevIndex != (*pColDefaults)[i].nIndex) ||
(bPrevAutoStyle != (*pColDefaults)[i].bIsAutoStyle))
{
diff --git a/sc/source/filter/xml/sheetdata.cxx b/sc/source/filter/xml/sheetdata.cxx
index 7c61c8cfe880..c8796d9f691a 100644
--- a/sc/source/filter/xml/sheetdata.cxx
+++ b/sc/source/filter/xml/sheetdata.cxx
@@ -170,7 +170,7 @@ void ScSheetSaveData::UseSaveEntries()
void ScSheetSaveData::StoreInitialNamespaces( const SvXMLNamespaceMap& rNamespaces )
{
// the initial namespaces are just removed from the list of loaded namespaces,
- // so only a unordered_map of the prefixes is needed.
+ // so only an unordered_map of the prefixes is needed.
const NameSpaceHash& rNameHash = rNamespaces.GetAllEntries();
for (const auto& rEntry : rNameHash)
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 9b8b5071bd01..eeaca6737b22 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -1543,7 +1543,7 @@ void ScXMLExport::ExportFormatRanges(const sal_Int32 nStartCol, const sal_Int32
pRowFormatRanges->Clear();
pCellStyles->GetFormatRanges(0, pSharedData->GetLastColumn(nSheet), nStartRow + nRows, nSheet, pRowFormatRanges.get());
sal_Int32 nMaxRows = pRowFormatRanges->GetMaxRows();
- OSL_ENSURE(nMaxRows, "something wents wrong");
+ OSL_ENSURE(nMaxRows, "something went wrong");
if (nMaxRows >= nTotalRows - nRows)
{
OpenRow(nSheet, nStartRow + nRows, nTotalRows - nRows, aRowAttr);
@@ -3021,7 +3021,7 @@ void writeContent(
if (pField)
{
- // Write an field item.
+ // Write a field item.
OUString aFieldVal = ScEditUtil::GetCellFieldValue(*pField, rExport.GetDocument(), nullptr);
switch (pField->GetClassId())
{
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx
index 8922919f694a..18b7c712d199 100644
--- a/sc/source/ui/Accessibility/AccessibleCell.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCell.cxx
@@ -453,7 +453,7 @@ void ScAccessibleCell::AddRelation(const ScRange& rRange,
++nPos;
}
}
- OSL_ENSURE(nCount == nPos, "something wents wrong");
+ OSL_ENSURE(nCount == nPos, "something went wrong");
AccessibleRelation aRelation;
aRelation.RelationType = aRelationType;
aRelation.TargetSet = aTargetSet;
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
index 84022786f83a..5d8764469b83 100644
--- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
@@ -1137,7 +1137,7 @@ void ScAccessibleDocumentPagePreview::Notify( SfxBroadcaster& rBC, const SfxHint
// only notify if child exist, otherwise it is not necessary
if (rHint.GetId() == SfxHintId::ScDataChanged)
{
- if (mpTable.is()) // if there is no table there is nothing to notify, because no one recongnizes the change
+ if (mpTable.is()) // if there is no table there is nothing to notify, because no one recognizes the change
{
{
uno::Reference<XAccessible> xAcc = mpTable.get();
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index c74e31740a01..be603d6f3108 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -442,7 +442,7 @@ void ScAccessibleSpreadsheet::Notify( SfxBroadcaster& rBC, const SfxHint& rHint
}
else
{
- OSL_FAIL("is it a deletion or a insertion?");
+ OSL_FAIL("is it a deletion or an insertion?");
}
CommitTableModelChange(rRef.GetRange().aStart.Row(),
diff --git a/sc/source/ui/Accessibility/AccessibleTableBase.cxx b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
index f66e1fea8b4d..a695f914de02 100644
--- a/sc/source/ui/Accessibility/AccessibleTableBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleTableBase.cxx
@@ -104,7 +104,7 @@ sal_Int32 SAL_CALL ScAccessibleTableBase::getAccessibleColumnCount( )
OUString SAL_CALL ScAccessibleTableBase::getAccessibleRowDescription( sal_Int32 nRow )
{
- OSL_FAIL("Here should be a implementation to fill the description");
+ OSL_FAIL("Here should be an implementation to fill the description");
if ((nRow > (maRange.aEnd.Row() - maRange.aStart.Row())) || (nRow < 0))
throw lang::IndexOutOfBoundsException();
@@ -115,7 +115,7 @@ OUString SAL_CALL ScAccessibleTableBase::getAccessibleRowDescription( sal_Int32
OUString SAL_CALL ScAccessibleTableBase::getAccessibleColumnDescription( sal_Int32 nColumn )
{
- OSL_FAIL("Here should be a implementation to fill the description");
+ OSL_FAIL("Here should be an implementation to fill the description");
if ((nColumn > (maRange.aEnd.Col() - maRange.aStart.Col())) || (nColumn < 0))
throw lang::IndexOutOfBoundsException();
@@ -193,7 +193,7 @@ sal_Int32 SAL_CALL ScAccessibleTableBase::getAccessibleColumnExtentAt( sal_Int32
uno::Reference< XAccessibleTable > SAL_CALL ScAccessibleTableBase::getAccessibleRowHeaders( )
{
uno::Reference< XAccessibleTable > xAccessibleTable;
- OSL_FAIL("Here should be a implementation to fill the row headers");
+ OSL_FAIL("Here should be an implementation to fill the row headers");
//CommitChange
return xAccessibleTable;
@@ -202,7 +202,7 @@ uno::Reference< XAccessibleTable > SAL_CALL ScAccessibleTableBase::getAccessible
uno::Reference< XAccessibleTable > SAL_CALL ScAccessibleTableBase::getAccessibleColumnHeaders( )
{
uno::Reference< XAccessibleTable > xAccessibleTable;
- OSL_FAIL("Here should be a implementation to fill the column headers");
+ OSL_FAIL("Here should be an implementation to fill the column headers");
//CommitChange
return xAccessibleTable;
diff --git a/sc/source/ui/Accessibility/AccessibleText.cxx b/sc/source/ui/Accessibility/AccessibleText.cxx
index acacc91ba421..0e8f5b48feef 100644
--- a/sc/source/ui/Accessibility/AccessibleText.cxx
+++ b/sc/source/ui/Accessibility/AccessibleText.cxx
@@ -430,7 +430,7 @@ void ScEditViewForwarder::SetInvalid()
mpEditView = nullptr;
}
-// ScAccessibleCellTextData: shared data between sub objects of a accessible cell text object
+// ScAccessibleCellTextData: shared data between sub objects of an accessible cell text object
ScAccessibleCellTextData::ScAccessibleCellTextData(ScTabViewShell* pViewShell,
const ScAddress& rP, ScSplitPos eSplitPos, ScAccessibleCell* pAccCell)
@@ -901,7 +901,7 @@ void ScAccessibleEditLineTextData::EndEdit()
mpEditView = nullptr;
}
-// ScAccessiblePreviewCellTextData: shared data between sub objects of a accessible cell text object
+// ScAccessiblePreviewCellTextData: shared data between sub objects of an accessible cell text object
ScAccessiblePreviewCellTextData::ScAccessiblePreviewCellTextData(ScPreviewShell* pViewShell,
const ScAddress& rP)
@@ -969,7 +969,7 @@ ScDocShell* ScAccessiblePreviewCellTextData::GetDocShell(ScPreviewShell* pViewSh
return pDocSh;
}
-// ScAccessiblePreviewHeaderCellTextData: shared data between sub objects of a accessible cell text object
+// ScAccessiblePreviewHeaderCellTextData: shared data between sub objects of an accessible cell text object
ScAccessiblePreviewHeaderCellTextData::ScAccessiblePreviewHeaderCellTextData(ScPreviewShell* pViewShell,
const OUString& rText, const ScAddress& rP, bool bColHeader, bool bRowHeader)