summaryrefslogtreecommitdiff
path: root/sw/source/core/access
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-22 19:28:56 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-23 20:13:14 +0200
commit9d8fe885f242ab7dd21e338cc5a40a278db6b2ff (patch)
treea1176083c2065f001b084ba6483baf44e433f075 /sw/source/core/access
parentfa45a2189b9285d3dc1cde532d3bc32b4ca6599b (diff)
Fix typo in code
Change-Id: I028a75b1ce4cceb601ac2e50693cde94df57f684 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101208 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/core/access')
-rw-r--r--sw/source/core/access/accdoc.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx
index bf2c0e844a2b..53a974acc96a 100644
--- a/sw/source/core/access/accdoc.cxx
+++ b/sw/source/core/access/accdoc.cxx
@@ -512,14 +512,14 @@ uno::Any SAL_CALL SwAccessibleDocument::getExtendedAttributes()
{
SolarMutexGuard g;
- uno::Any anyAtrribute;
+ uno::Any anyAttribute;
SwDoc *pDoc = GetMap() ? GetShell()->GetDoc() : nullptr;
if (!pDoc)
- return anyAtrribute;
+ return anyAttribute;
SwCursorShell* pCursorShell = GetCursorShell();
if( !pCursorShell )
- return anyAtrribute;
+ return anyAttribute;
SwFEShell* pFEShell = dynamic_cast<const SwFEShell*>( pCursorShell) != nullptr
? static_cast<SwFEShell*>( pCursorShell )
@@ -705,9 +705,9 @@ uno::Any SAL_CALL SwAccessibleDocument::getExtendedAttributes()
OUString::number( nSctColCount ) + ";";
}
- anyAtrribute <<= sValue;
+ anyAttribute <<= sValue;
}
- return anyAtrribute;
+ return anyAttribute;
}
sal_Int32 SAL_CALL SwAccessibleDocument::getBackground()