summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/token/propertynames.cxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/oox/source/token/propertynames.cxx b/oox/source/token/propertynames.cxx
index dc0d9ed42b53..b7c5e544143c 100644
--- a/oox/source/token/propertynames.cxx
+++ b/oox/source/token/propertynames.cxx
@@ -22,17 +22,11 @@
namespace oox
{
PropertyNameVector::PropertyNameVector()
-{
- static const char* sppcPropertyNames[] = {
- // include auto-generated C array with property names as C strings
+ : ::std::vector<OUString>{
+// include auto-generated C array with property names as C strings
#include <propertynames.inc>
- ""
- };
-
- size_t nArraySize = SAL_N_ELEMENTS(sppcPropertyNames) - 1;
- reserve(nArraySize);
- for (size_t nIndex = 0; nIndex < nArraySize; ++nIndex)
- push_back(OUString::createFromAscii(sppcPropertyNames[nIndex]));
+ }
+{
}
} // namespace oox