summaryrefslogtreecommitdiff
path: root/stoc/source/implementationregistration
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/implementationregistration')
-rw-r--r--stoc/source/implementationregistration/implreg.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index 886ead94c8b4..008991d91046 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -367,9 +367,7 @@ static void createUniqueSubEntry(const Reference < XRegistryKey > & xSuperKey,
}
} else
{
- Sequence<OUString> implEntriesNew(1);
-
- implEntriesNew.getArray()[0] = value;
+ Sequence<OUString> implEntriesNew { value };
xSuperKey->setAsciiListValue(implEntriesNew);
}