[Libreoffice-commits] core.git: starmath/source
ViKrAm-Baisclear (via logerrit)
logerrit at kemper.freedesktop.org
Sun Feb 7 16:26:03 UTC 2021
starmath/source/unofilter.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit e520b32a8ba59878fa15012505644ab903f53bbf
Author: ViKrAm-Baisclear <vikrambais02 at gmail.com>
AuthorDate: Sat Jan 16 15:52:59 2021 +0530
Commit: Jan-Marek Glogowski <glogow at fbihome.de>
CommitDate: Sun Feb 7 17:25:20 2021 +0100
tdf#88205 Adapt use of uno::Sequence to use initializer_list ctor
Change-Id: I2fe98b4bfb221c838a8810f2c08b3e7723e40e8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109428
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow at fbihome.de>
diff --git a/starmath/source/unofilter.cxx b/starmath/source/unofilter.cxx
index 719681af4b4b..610d4281c765 100644
--- a/starmath/source/unofilter.cxx
+++ b/starmath/source/unofilter.cxx
@@ -105,8 +105,7 @@ sal_Bool MathTypeFilter::supportsService(const OUString& rServiceName)
uno::Sequence<OUString> MathTypeFilter::getSupportedServiceNames()
{
- uno::Sequence<OUString> aRet = { OUString("com.sun.star.document.ImportFilter") };
- return aRet;
+ return { "com.sun.star.document.ImportFilter" };
}
extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface*
More information about the Libreoffice-commits
mailing list