filter: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I56739de05cacebe93983bd27fcaa1ec7f27b5fa8
This commit is contained in:
@@ -52,17 +52,6 @@ OUString SWFDialog_getImplementationName ()
|
||||
return OUString ( SERVICE_NAME );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Sequence< sal_Int8 > SAL_CALL SWFDialog_getImplementationId()
|
||||
throw(RuntimeException)
|
||||
{
|
||||
static ::cppu::OImplementationId aId;
|
||||
return aId.getImplementationId();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Sequence< OUString > SAL_CALL SWFDialog_getSupportedServiceNames()
|
||||
throw (RuntimeException)
|
||||
{
|
||||
@@ -135,7 +124,7 @@ void SAL_CALL SWFDialog::release()
|
||||
Sequence< sal_Int8 > SAL_CALL SWFDialog::getImplementationId()
|
||||
throw(RuntimeException, std::exception)
|
||||
{
|
||||
return SWFDialog_getImplementationId();
|
||||
return css::uno::Sequence<sal_Int8>();
|
||||
}
|
||||
|
||||
|
||||
|
@@ -46,17 +46,6 @@ OUString PDFDialog_getImplementationName ()
|
||||
return OUString ( "com.sun.star.comp.PDF.PDFDialog" );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Sequence< sal_Int8 > SAL_CALL PDFDialog_getImplementationId()
|
||||
throw(RuntimeException)
|
||||
{
|
||||
static ::cppu::OImplementationId aId;
|
||||
return aId.getImplementationId();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Sequence< OUString > SAL_CALL PDFDialog_getSupportedServiceNames()
|
||||
throw (RuntimeException)
|
||||
{
|
||||
@@ -98,7 +87,7 @@ PDFDialog::~PDFDialog()
|
||||
Sequence< sal_Int8 > SAL_CALL PDFDialog::getImplementationId()
|
||||
throw(RuntimeException, std::exception)
|
||||
{
|
||||
return PDFDialog_getImplementationId();
|
||||
return css::uno::Sequence<sal_Int8>();
|
||||
}
|
||||
|
||||
|
||||
|
@@ -52,18 +52,6 @@ OUString SVGDialog_getImplementationName ()
|
||||
return OUString ( SVG_DIALOG_IMPLEMENTATION_NAME );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Sequence< sal_Int8 > SAL_CALL SVGDialog_getImplementationId()
|
||||
throw(RuntimeException)
|
||||
{
|
||||
static const ::cppu::OImplementationId aId;
|
||||
|
||||
return( aId.getImplementationId() );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Sequence< OUString > SAL_CALL SVGDialog_getSupportedServiceNames()
|
||||
throw (RuntimeException)
|
||||
{
|
||||
@@ -134,7 +122,7 @@ void SAL_CALL SVGDialog::release()
|
||||
Sequence< sal_Int8 > SAL_CALL SVGDialog::getImplementationId()
|
||||
throw(RuntimeException, std::exception)
|
||||
{
|
||||
return SVGDialog_getImplementationId();
|
||||
return css::uno::Sequence<sal_Int8>();
|
||||
}
|
||||
|
||||
|
||||
|
@@ -216,8 +216,7 @@ namespace { struct lcl_ImplId : public rtl::Static< ::cppu::OImplementationId, l
|
||||
|
||||
Sequence< sal_Int8 > SAL_CALL XMLFilterDialogComponent::getImplementationId( void ) throw( RuntimeException, std::exception )
|
||||
{
|
||||
::cppu::OImplementationId &rID = lcl_ImplId::get();
|
||||
return rID.getImplementationId();
|
||||
return css::uno::Sequence<sal_Int8>();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user