From e48a2339600d12d43148bbdb9a47770ae9bc94e3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Jun 2014 15:25:46 +0200 Subject: loplugin:unreffun: also warn about redundant redeclarations Change-Id: I9a812220b58cf6da00d854e65794f7c673ab239d --- xmloff/source/text/XMLAutoTextEventExport.hxx | 30 --------------------------- xmloff/source/transform/OOo2Oasis.cxx | 2 -- xmloff/source/transform/Oasis2OOo.cxx | 2 -- 3 files changed, 34 deletions(-) (limited to 'xmloff/source') diff --git a/xmloff/source/text/XMLAutoTextEventExport.hxx b/xmloff/source/text/XMLAutoTextEventExport.hxx index 79d104da466b..ec8eadfdfb09 100644 --- a/xmloff/source/text/XMLAutoTextEventExport.hxx +++ b/xmloff/source/text/XMLAutoTextEventExport.hxx @@ -97,36 +97,6 @@ protected: virtual void _ExportContent() SAL_OVERRIDE; }; - - -// global functions to support the component - -::com::sun::star::uno::Sequence< OUString > SAL_CALL - XMLAutoTextEventExport_getSupportedServiceNames() - throw(); - -OUString SAL_CALL XMLAutoTextEventExport_getImplementationName() - throw(); - -::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL - XMLAutoTextEventExportOOO_createInstance( - const ::com::sun::star::uno::Reference< - ::com::sun::star::lang::XMultiServiceFactory > & ) - throw( ::com::sun::star::uno::Exception ); - -::com::sun::star::uno::Sequence< OUString > SAL_CALL - XMLAutoTextEventExportOOO_getSupportedServiceNames() - throw(); - -OUString SAL_CALL XMLAutoTextEventExportOOO_getImplementationName() - throw(); - -::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL - XMLAutoTextEventExportOOO_createInstance( - const ::com::sun::star::uno::Reference< - ::com::sun::star::lang::XMultiServiceFactory > & ) - throw( ::com::sun::star::uno::Exception ); - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx index 7d51d95001d3..890a5f06b58c 100644 --- a/xmloff/source/transform/OOo2Oasis.cxx +++ b/xmloff/source/transform/OOo2Oasis.cxx @@ -47,8 +47,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::xml::sax; using namespace ::com::sun::star::beans; -OUString SAL_CALL OOo2OasisTransformer_getImplementationName() throw(); - enum XMLUserDefinedTransformerAction { XML_ETACTION_DOCUMENT=XML_ETACTION_USER_DEFINED, diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx index 2969ef12fb98..e2d1696c8d39 100644 --- a/xmloff/source/transform/Oasis2OOo.cxx +++ b/xmloff/source/transform/Oasis2OOo.cxx @@ -52,8 +52,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::xml::sax; using namespace ::com::sun::star::beans; -OUString SAL_CALL Oasis2OOoTransformer_getImplementationName() throw(); - enum XMLUserDefinedTransformerAction { XML_ETACTION_META=XML_ETACTION_USER_DEFINED, -- cgit