Fix OrcusFormatDetect XServiceInfo
Change-Id: I7c54ec6de8c6bd3a5ed67809404eee65aa5af695 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150697 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
05425f73bf
commit
76e80a567f
1 changed files with 5 additions and 4 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/io/XInputStream.hpp>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
|
||||
#include <unotools/mediadescriptor.hxx>
|
||||
|
||||
|
@ -47,17 +48,17 @@ OrcusFormatDetect::OrcusFormatDetect()
|
|||
|
||||
OUString OrcusFormatDetect::getImplementationName()
|
||||
{
|
||||
return OUString();
|
||||
return "com.sun.star.comp.sc.OrcusFilterDetect";
|
||||
}
|
||||
|
||||
sal_Bool OrcusFormatDetect::supportsService(const OUString& /*rServiceName*/)
|
||||
sal_Bool OrcusFormatDetect::supportsService(const OUString& rServiceName)
|
||||
{
|
||||
return false;
|
||||
return cppu::supportsService(this, rServiceName);
|
||||
}
|
||||
|
||||
css::uno::Sequence<OUString> OrcusFormatDetect::getSupportedServiceNames()
|
||||
{
|
||||
return css::uno::Sequence<OUString>();
|
||||
return {"com.sun.star.frame.ExtendedTypeDetection"};
|
||||
}
|
||||
|
||||
OUString OrcusFormatDetect::detect(css::uno::Sequence<css::beans::PropertyValue>& rMediaDescSeq)
|
||||
|
|
Loading…
Reference in a new issue