diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-11 18:48:45 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-12 11:23:43 +0200 |
commit | a47569aca50a4bac0613811f44cef516a24553d0 (patch) | |
tree | ed6fe241431323bdc928e9382f88208d503e90d1 /sc/source/ui/Accessibility | |
parent | f9c57222e7f108ba68f3910a5c8f007476ce6552 (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>
Diffstat (limited to 'sc/source/ui/Accessibility')
5 files changed, 10 insertions, 10 deletions
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) |