diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-09 10:12:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-09 10:12:19 +0100 |
commit | 6e12fb3be33379fa87b90ffae047cffe1370eef9 (patch) | |
tree | 1e39f01609c1471bbb0a2b0dcb85c6c67a7ff1f4 /linguistic/source | |
parent | 6d25220ad6c869bb7cd79cf678d092b81558a8d2 (diff) |
Consolidate XServiceInfo for classes derived from SvXMLImport
Change-Id: I5a269d8b7e95049c67ae14b06a79b417bc91a474
Diffstat (limited to 'linguistic/source')
-rw-r--r-- | linguistic/source/convdicxml.cxx | 8 | ||||
-rw-r--r-- | linguistic/source/convdicxml.hxx | 5 |
2 files changed, 1 insertions, 12 deletions
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx index 72dbc064e53e..f003c001aecf 100644 --- a/linguistic/source/convdicxml.cxx +++ b/linguistic/source/convdicxml.cxx @@ -411,12 +411,4 @@ SvXMLImportContext * ConvDicXMLImport::CreateContext( return pContext; } - -OUString SAL_CALL ConvDicXMLImport::getImplementationName() - throw( uno::RuntimeException ) -{ - return OUString( "com.sun.star.lingu2.ConvDicXMLImport" ); -} - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx index 82861e5b8278..dd4521c4fb0a 100644 --- a/linguistic/source/convdicxml.hxx +++ b/linguistic/source/convdicxml.hxx @@ -84,7 +84,7 @@ public: //!! see comment for pDic member ConvDicXMLImport( ConvDic *pConvDic, const OUString /*&rFileName*/ ) : - SvXMLImport ( comphelper::getProcessComponentContext(), IMPORT_ALL ), + SvXMLImport ( comphelper::getProcessComponentContext(), "com.sun.star.lingu2.ConvDicXMLImport", IMPORT_ALL ), pDic ( pConvDic ) { nLanguage = LANGUAGE_NONE; @@ -96,9 +96,6 @@ public: { } - // XServiceInfo (override parent method) - OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL startDocument(void) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); virtual void SAL_CALL endDocument(void) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); |