From 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 16 May 2016 10:11:04 +0200 Subject: update unusedmethods plugin to deal with constructors and fix the operator< implementations in some of the other plugins too. Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035 Reviewed-on: https://gerrit.libreoffice.org/25057 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/container/embeddedobjectcontainer.cxx | 6 ------ comphelper/source/inc/comphelper_module.hxx | 12 ------------ 2 files changed, 18 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx index 169f37516bcb..1850c76eec45 100644 --- a/comphelper/source/container/embeddedobjectcontainer.cxx +++ b/comphelper/source/container/embeddedobjectcontainer.cxx @@ -1172,12 +1172,6 @@ uno::Reference < io::XInputStream > EmbeddedObjectContainer::GetObjectStream( co return xInputStream; } -uno::Reference < io::XInputStream > EmbeddedObjectContainer::GetObjectStream( const uno::Reference < embed::XEmbeddedObject >& xObj ) -{ - // try to load it from the container storage - return GetObjectStream( GetEmbeddedObjectName( xObj ), nullptr ); -} - bool EmbeddedObjectContainer::InsertGraphicStream( const css::uno::Reference < css::io::XInputStream >& rStream, const OUString& rObjectName, const OUString& rMediaType ) { try diff --git a/comphelper/source/inc/comphelper_module.hxx b/comphelper/source/inc/comphelper_module.hxx index 8c587f033a1b..7569eb7ff050 100644 --- a/comphelper/source/inc/comphelper_module.hxx +++ b/comphelper/source/inc/comphelper_module.hxx @@ -39,18 +39,6 @@ namespace comphelper { namespace module ComphelperModule(); }; - /* -------------------------------------------------------------------- */ - class ComphelperModuleClient : public ::comphelper::OModuleClient - { - private: - typedef ::comphelper::OModuleClient BaseClass; - - public: - ComphelperModuleClient() : BaseClass( ComphelperModule::getInstance() ) - { - } - }; - /* -------------------------------------------------------------------- */ template < class TYPE > class OAutoRegistration : public ::comphelper::OAutoRegistration< TYPE > -- cgit