summaryrefslogtreecommitdiff
path: root/starmath/source/unodoc.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-03-02 18:35:54 +0900
committerStephan Bergmann <sbergman@redhat.com>2015-03-05 11:31:14 +0100
commit9dd8510e41dbdeb39598eed04e260525810141ce (patch)
treef90479ba42e01317997588088be800b76a79f786 /starmath/source/unodoc.cxx
parent44337a1fdae8cdc68b6cf539166e60feea879a9b (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in starmath. Change-Id: I823b352b2b6bdc247bdb3ce875953430546a3be8 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath/source/unodoc.cxx')
-rw-r--r--starmath/source/unodoc.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/starmath/source/unodoc.cxx b/starmath/source/unodoc.cxx
index 225fa29269c5..1d89f4a0ab77 100644
--- a/starmath/source/unodoc.cxx
+++ b/starmath/source/unodoc.cxx
@@ -36,9 +36,7 @@ OUString SAL_CALL SmDocument_getImplementationName() throw()
uno::Sequence< OUString > SAL_CALL SmDocument_getSupportedServiceNames() throw()
{
- uno::Sequence< OUString > aSeq( 1 );
- aSeq[0] = "com.sun.star.formula.FormulaProperties";
- return aSeq;
+ return uno::Sequence<OUString>{ "com.sun.star.formula.FormulaProperties" };
}
uno::Reference< uno::XInterface > SAL_CALL SmDocument_createInstance(