summaryrefslogtreecommitdiff
path: root/linguistic/source/convdic.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 09:51:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 08:41:38 +0000
commit1a743fd8a27d063525e3567619a2971770c61574 (patch)
tree0bbb838762285342beab2711e867ff695a05a7b7 /linguistic/source/convdic.cxx
parentbc57a3e319bccb2d48549a3134d5dcd4336d4533 (diff)
loplugin:expandablemethods in hwpfilter..linguistic
Change-Id: I62ae20ab4a47b3b7e2b0d503cedcad3319cc9c85 Reviewed-on: https://gerrit.libreoffice.org/30683 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic/source/convdic.cxx')
-rw-r--r--linguistic/source/convdic.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx
index d955c4c29a63..73953556b0fe 100644
--- a/linguistic/source/convdic.cxx
+++ b/linguistic/source/convdic.cxx
@@ -644,7 +644,7 @@ void SAL_CALL ConvDic::removeFlushListener(
OUString SAL_CALL ConvDic::getImplementationName( )
throw (RuntimeException, std::exception)
{
- return getImplementationName_Static();
+ return OUString( "com.sun.star.lingu2.ConvDic" );
}
sal_Bool SAL_CALL ConvDic::supportsService( const OUString& rServiceName )
@@ -656,15 +656,7 @@ sal_Bool SAL_CALL ConvDic::supportsService( const OUString& rServiceName )
uno::Sequence< OUString > SAL_CALL ConvDic::getSupportedServiceNames( )
throw (RuntimeException, std::exception)
{
- return getSupportedServiceNames_Static();
-}
-
-
-uno::Sequence< OUString > ConvDic::getSupportedServiceNames_Static()
- throw()
-{
- uno::Sequence<OUString> aSNS { SN_CONV_DICTIONARY };
- return aSNS;
+ return { SN_CONV_DICTIONARY };
}