diff options
-rw-r--r-- | framework/source/jobs/jobdispatch.cxx | 3 | ||||
-rw-r--r-- | framework/source/services/pathsettings.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/framework/source/jobs/jobdispatch.cxx b/framework/source/jobs/jobdispatch.cxx index 6ec94cb3293c..964f128e9110 100644 --- a/framework/source/jobs/jobdispatch.cxx +++ b/framework/source/jobs/jobdispatch.cxx @@ -99,8 +99,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.ProtocolHandler" }; - return aSeq; + return {"com.sun.star.frame.ProtocolHandler"}; } // Xinitialization diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index 72c15015f586..c59ef728ccb5 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -185,8 +185,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.util.PathSettings" }; - return aSeq; + return {"com.sun.star.util.PathSettings"}; } // XInterface |