summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpcontent.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-25 13:46:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-26 06:49:46 +0000
commit47317f041693db1a9d4618a1d9f7dcefe52b2904 (patch)
tree612afa75bf969dc70c7fce9accc17263c5aab5e8 /ucb/source/ucp/ftp/ftpcontent.cxx
parentfe1f1247fad782bdf43322532fdeb1ba9f03135a (diff)
loplugin:expandablemethods in ucb..ucbhelper
Change-Id: I42d077d7ebcfb77447d011644f8d64e80eae69c2 Reviewed-on: https://gerrit.libreoffice.org/30266 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/ftp/ftpcontent.cxx')
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx
index 8e73b4908c8c..ca606c994b9c 100644
--- a/ucb/source/ucp/ftp/ftpcontent.cxx
+++ b/ucb/source/ucp/ftp/ftpcontent.cxx
@@ -177,11 +177,6 @@ css::uno::Sequence< css::uno::Type > SAL_CALL FTPContent::getTypes()
OUString SAL_CALL FTPContent::getImplementationName()
throw( css::uno::RuntimeException, std::exception )
{
- return getImplementationName_Static();
-}
-
-OUString FTPContent::getImplementationName_Static()
-{
return OUString( "com.sun.star.comp.FTPContent");
}
@@ -194,13 +189,7 @@ sal_Bool SAL_CALL FTPContent::supportsService( const OUString& ServiceName )
css::uno::Sequence< OUString > SAL_CALL FTPContent::getSupportedServiceNames()
throw( css::uno::RuntimeException, std::exception )
{
- return getSupportedServiceNames_Static();
-}
-
-css::uno::Sequence< OUString > FTPContent::getSupportedServiceNames_Static()
-{
- css::uno::Sequence<OUString> aSNS { "com.sun.star.ucb.FTPContent" };
- return aSNS;
+ return { "com.sun.star.ucb.FTPContent" };
}