summaryrefslogtreecommitdiff
path: root/oox/source/core/filterdetect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/core/filterdetect.cxx')
-rw-r--r--oox/source/core/filterdetect.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/core/filterdetect.cxx b/oox/source/core/filterdetect.cxx
index 13f195d8ad82..ede7849c599f 100644
--- a/oox/source/core/filterdetect.cxx
+++ b/oox/source/core/filterdetect.cxx
@@ -228,8 +228,7 @@ void FilterDetectDocHandler::parseContentTypesOverride( const AttributeList& rAt
/* Helper for XServiceInfo */
Sequence< OUString > FilterDetect_getSupportedServiceNames()
{
- Sequence< OUString > aServiceNames( 1 );
- aServiceNames[ 0 ] = "com.sun.star.frame.ExtendedTypeDetection";
+ Sequence<OUString> aServiceNames { "com.sun.star.frame.ExtendedTypeDetection" };
return aServiceNames;
}