diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-21 12:52:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-21 13:43:11 +0200 |
commit | b2a574ec54c7e34789b401a540ff14511bf583ce (patch) | |
tree | 9387442f88605f52777d2c36894842f25603160d /starmath/source | |
parent | 9cbb4052d11d8fc5b408cfe75ddb5305f9a7461b (diff) |
simplify some getSupportedServiceNames
Change-Id: I81195505d6006b6587f7b98c1545919083f0e588
Reviewed-on: https://gerrit.libreoffice.org/74497
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/accessibility.cxx | 4 | ||||
-rw-r--r-- | starmath/source/smdetect.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index 9dfce2e83134..75408826ff42 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -731,7 +731,7 @@ sal_Bool SAL_CALL SmGraphicAccessible::supportsService( Sequence< OUString > SAL_CALL SmGraphicAccessible::getSupportedServiceNames() { - return Sequence< OUString >{ + return { "css::accessibility::Accessible", "css::accessibility::AccessibleComponent", "css::accessibility::AccessibleContext", @@ -1774,7 +1774,7 @@ sal_Bool SAL_CALL SmEditAccessible::supportsService( Sequence< OUString > SAL_CALL SmEditAccessible::getSupportedServiceNames() { - return Sequence< OUString >{ + return { "css::accessibility::Accessible", "css::accessibility::AccessibleComponent", "css::accessibility::AccessibleContext" diff --git a/starmath/source/smdetect.cxx b/starmath/source/smdetect.cxx index 24e6f2df7bf5..0db1564f2a06 100644 --- a/starmath/source/smdetect.cxx +++ b/starmath/source/smdetect.cxx @@ -136,7 +136,7 @@ sal_Bool SAL_CALL SmFilterDetect::supportsService( const OUString& sServiceName /* XServiceInfo */ Sequence< OUString > SAL_CALL SmFilterDetect::getSupportedServiceNames() { - return Sequence< OUString >{ "com.sun.star.frame.ExtendedTypeDetection" }; + return { "com.sun.star.frame.ExtendedTypeDetection" }; } extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* |