summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-22 18:45:10 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-23 14:53:24 +0200
commit2817695f069f05e7d6b3123d8e3e44ffe7c117b9 (patch)
tree7f1817d3ebdff3aba1eac2fae2c052f614bc969c /sc
parent594790152320757723a5e622a041316d27360b09 (diff)
Fix typo in code
Change-Id: I4c85b93b57fc36e64f2d33e7440d8f20bcb78960 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101201 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocument.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index 836e63e0c28b..d1a6b7d3758b 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -2210,19 +2210,19 @@ uno::Any SAL_CALL ScAccessibleDocument::getExtendedAttributes()
{
SolarMutexGuard g;
- uno::Any anyAtrribute;
+ uno::Any anyAttribute;
sal_uInt16 sheetIndex;
OUString sSheetName;
sheetIndex = getVisibleTable();
if(GetDocument()==nullptr)
- return anyAtrribute;
+ return anyAttribute;
GetDocument()->GetName(sheetIndex,sSheetName);
OUString sValue = "page-name:" + sSheetName +
";page-number:" + OUString::number(sheetIndex+1) +
";total-pages:" + OUString::number(GetDocument()->GetTableCount()) + ";";
- anyAtrribute <<= sValue;
- return anyAtrribute;
+ anyAttribute <<= sValue;
+ return anyAttribute;
}
sal_Int32 SAL_CALL ScAccessibleDocument::getForeground( )