summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/fielduno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/fielduno.cxx')
-rw-r--r--sc/source/ui/unoobj/fielduno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx
index 178ef7a17996..aa8dce00f17a 100644
--- a/sc/source/ui/unoobj/fielduno.cxx
+++ b/sc/source/ui/unoobj/fielduno.cxx
@@ -377,7 +377,7 @@ sal_Bool SAL_CALL ScCellFieldsObj::hasElements()
uno::Reference<container::XEnumeration> SAL_CALL ScCellFieldsObj::createEnumeration()
{
SolarMutexGuard aGuard;
- return new ScIndexEnumeration(this, OUString("com.sun.star.text.TextFieldEnumeration"));
+ return new ScIndexEnumeration(this, "com.sun.star.text.TextFieldEnumeration");
}
void SAL_CALL ScCellFieldsObj::addContainerListener(
@@ -533,7 +533,7 @@ sal_Bool SAL_CALL ScHeaderFieldsObj::hasElements()
uno::Reference<container::XEnumeration> SAL_CALL ScHeaderFieldsObj::createEnumeration()
{
SolarMutexGuard aGuard;
- return new ScIndexEnumeration(this, OUString("com.sun.star.text.TextFieldEnumeration"));
+ return new ScIndexEnumeration(this, "com.sun.star.text.TextFieldEnumeration");
}
void SAL_CALL ScHeaderFieldsObj::addContainerListener(