summaryrefslogtreecommitdiff
path: root/writerperfect/source/draw/PageMakerImportFilter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/draw/PageMakerImportFilter.cxx')
-rw-r--r--writerperfect/source/draw/PageMakerImportFilter.cxx26
1 files changed, 8 insertions, 18 deletions
diff --git a/writerperfect/source/draw/PageMakerImportFilter.cxx b/writerperfect/source/draw/PageMakerImportFilter.cxx
index a644aeb4f7ed..fd00e2d4d646 100644
--- a/writerperfect/source/draw/PageMakerImportFilter.cxx
+++ b/writerperfect/source/draw/PageMakerImportFilter.cxx
@@ -41,37 +41,27 @@ bool PageMakerImportFilter::doDetectFormat(librevenge::RVNGInputStream &rInput,
return false;
}
-OUString PageMakerImportFilter_getImplementationName()
-throw (RuntimeException)
-{
- return OUString("org.libreoffice.comp.Draw.PageMakerImportFilter");
-}
-
-Sequence< OUString > PageMakerImportFilter_getSupportedServiceNames()
-throw (RuntimeException)
-{
- Sequence< OUString > aRet(2);
- OUString *pArray = aRet.getArray();
- pArray[0] = "com.sun.star.document.ImportFilter";
- pArray[1] = "com.sun.star.document.ExtendedTypeDetection";
- return aRet;
-}
-
// XServiceInfo
OUString SAL_CALL PageMakerImportFilter::getImplementationName()
throw (RuntimeException, std::exception)
{
- return PageMakerImportFilter_getImplementationName();
+ return OUString("org.libreoffice.comp.Draw.PageMakerImportFilter");
}
+
sal_Bool SAL_CALL PageMakerImportFilter::supportsService(const OUString &rServiceName)
throw (RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
+
Sequence< OUString > SAL_CALL PageMakerImportFilter::getSupportedServiceNames()
throw (RuntimeException, std::exception)
{
- return PageMakerImportFilter_getSupportedServiceNames();
+ Sequence< OUString > aRet(2);
+ OUString *pArray = aRet.getArray();
+ pArray[0] = "com.sun.star.document.ImportFilter";
+ pArray[1] = "com.sun.star.document.ExtendedTypeDetection";
+ return aRet;
}
extern "C"