summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx
index 9aee5b9a94fd..6f6cf3b519a6 100644
--- a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx
@@ -195,9 +195,8 @@ uno::Sequence< OUString> SAL_CALL
uno::Sequence< OUString > aSequence = ScAccessibleContextBase::getSupportedServiceNames();
sal_Int32 nOldSize(aSequence.getLength());
aSequence.realloc(nOldSize + 1);
- OUString* pNames = aSequence.getArray();
- pNames[nOldSize] = OUString("com.sun.star.sheet.AccessiblePageHeaderFooterAreasView");
+ aSequence[nOldSize] = "com.sun.star.sheet.AccessiblePageHeaderFooterAreasView";
return aSequence;
}