summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-04 11:22:26 +0200
committerNoel Grandin <noel@peralex.com>2013-11-11 08:36:06 +0200
commitf12f51316a2cb230138ec6dcdc7295e18b6fce28 (patch)
tree804d24d28af3c15026353fa780199e642c7d5cf1 /sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
parent2ac50736e4a3d442a43d3f9d368be45c57ad9285 (diff)
remove unnecessary use of OUString constructor in SC module
Change-Id: I2d40c589eb3b5c99300f36cd705c32cf824b2a98
Diffstat (limited to 'sc/source/ui/Accessibility/AccessiblePreviewTable.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessiblePreviewTable.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
index 118cc3641f69..42b14f46cb70 100644
--- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
@@ -577,9 +577,8 @@ uno::Sequence<OUString> SAL_CALL ScAccessiblePreviewTable::getSupportedServiceNa
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.table.AccessibleTableView");
+ aSequence[nOldSize] = "com.sun.star.table.AccessibleTableView";
return aSequence;
}