summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-08 14:11:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-08 14:11:58 +0100
commit31911b3cdcd405973b689e10ee86add6f1c40bd1 (patch)
tree3f2de8a7ddacd3e769d391fbd572a8a8a740301e /linguistic
parentd7a360eb99a403df65574d1e237db04da6e1c4c2 (diff)
Consolidate XServiceInfo for classes derived from SvXMLExport
Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdicxml.cxx7
-rw-r--r--linguistic/source/convdicxml.hxx5
2 files changed, 1 insertions, 11 deletions
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx
index 1928d82fee85..72dbc064e53e 100644
--- a/linguistic/source/convdicxml.cxx
+++ b/linguistic/source/convdicxml.cxx
@@ -383,13 +383,6 @@ void ConvDicXMLExport::_ExportContent()
}
}
-OUString SAL_CALL ConvDicXMLExport::getImplementationName()
- throw( uno::RuntimeException )
-{
- return OUString( "com.sun.star.lingu2.ConvDicXMLExport" );
-}
-
-
void SAL_CALL ConvDicXMLImport::startDocument(void)
throw( xml::sax::SAXException, uno::RuntimeException )
{
diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx
index 28c816ecc063..82861e5b8278 100644
--- a/linguistic/source/convdicxml.hxx
+++ b/linguistic/source/convdicxml.hxx
@@ -47,7 +47,7 @@ public:
ConvDicXMLExport( ConvDic &rConvDic,
const OUString &rFileName,
com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler > &rHandler) :
- SvXMLExport ( comphelper::getProcessComponentContext(), rFileName,
+ SvXMLExport ( comphelper::getProcessComponentContext(), "com.sun.star.lingu2.ConvDicXMLExport", rFileName,
::com::sun::star::util::MeasureUnit::CM, rHandler ),
rDic ( rConvDic ),
bSuccess ( sal_False )
@@ -57,9 +57,6 @@ public:
{
}
- // XServiceInfo (override parent method)
- OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException );
-
// SvXMLExport
void _ExportAutoStyles() {}
void _ExportMasterStyles() {}