summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-17 21:45:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-17 21:45:50 +0100
commit413f7c3642a6a237848e2c6d3b279bdf4d808c31 (patch)
tree4c33f42450f42c79ba4ac222105910ab8e3d94f6
parenta81d60527bfe09bc54e6eb2e1281344773db0152 (diff)
Remove oox::core::FilterBase::implGetImplementationName indirection
Change-Id: Ib275192452c6836cbaac2e517942ec5356dfd9ab
-rw-r--r--include/oox/core/filterbase.hxx6
-rw-r--r--include/oox/ppt/dgmimport.hxx2
-rw-r--r--include/oox/ppt/dgmlayout.hxx2
-rw-r--r--include/oox/ppt/pptimport.hxx2
-rw-r--r--oox/source/core/filterbase.cxx5
-rw-r--r--oox/source/ppt/dgmimport.cxx2
-rw-r--r--oox/source/ppt/dgmlayout.cxx2
-rw-r--r--oox/source/ppt/pptimport.cxx2
-rw-r--r--oox/source/shape/ShapeFilterBase.cxx2
-rw-r--r--oox/source/shape/ShapeFilterBase.hxx2
-rw-r--r--sc/source/filter/excel/xestream.cxx2
-rw-r--r--sc/source/filter/inc/excelfilter.hxx2
-rw-r--r--sc/source/filter/inc/xestream.hxx2
-rw-r--r--sc/source/filter/oox/excelfilter.cxx2
-rw-r--r--sd/source/filter/eppt/epptooxml.hxx2
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx2
-rw-r--r--sw/source/filter/ww8/docxexportfilter.cxx2
-rw-r--r--sw/source/filter/ww8/docxexportfilter.hxx4
18 files changed, 16 insertions, 29 deletions
diff --git a/include/oox/core/filterbase.hxx b/include/oox/core/filterbase.hxx
index 3d10c08fbae6..02737169ad31 100644
--- a/include/oox/core/filterbase.hxx
+++ b/include/oox/core/filterbase.hxx
@@ -199,10 +199,6 @@ public:
// com.sun.star.lang.XServiceInfo interface -------------------------------
- virtual OUString SAL_CALL
- getImplementationName()
- throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
-
virtual sal_Bool SAL_CALL
supportsService( const OUString& rServiceName )
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -274,8 +270,6 @@ private:
/** Derived classes create a VBA project manager object. */
virtual ::oox::ole::VbaProject* implCreateVbaProject() const = 0;
- virtual OUString implGetImplementationName() const = 0;
-
virtual StorageRef implCreateStorage(
const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& rxInStream ) const = 0;
virtual StorageRef implCreateStorage(
diff --git a/include/oox/ppt/dgmimport.hxx b/include/oox/ppt/dgmimport.hxx
index 83ec9608dd9a..3fd88b50114c 100644
--- a/include/oox/ppt/dgmimport.hxx
+++ b/include/oox/ppt/dgmimport.hxx
@@ -50,7 +50,7 @@ public:
virtual oox::drawingml::chart::ChartConverter* getChartConverter() SAL_OVERRIDE;
private:
- virtual OUString implGetImplementationName() const SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::oox::ole::VbaProject* implCreateVbaProject() const SAL_OVERRIDE;
};
diff --git a/include/oox/ppt/dgmlayout.hxx b/include/oox/ppt/dgmlayout.hxx
index 8cc4802fe259..d0ec057f99ca 100644
--- a/include/oox/ppt/dgmlayout.hxx
+++ b/include/oox/ppt/dgmlayout.hxx
@@ -50,7 +50,7 @@ public:
virtual ::oox::drawingml::chart::ChartConverter* getChartConverter() SAL_OVERRIDE;
private:
- virtual OUString implGetImplementationName() const SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::oox::ole::VbaProject* implCreateVbaProject() const SAL_OVERRIDE;
drawingml::ThemePtr mpThemePtr;
};
diff --git a/include/oox/ppt/pptimport.hxx b/include/oox/ppt/pptimport.hxx
index 02f0f4b328df..860da2afa361 100644
--- a/include/oox/ppt/pptimport.hxx
+++ b/include/oox/ppt/pptimport.hxx
@@ -69,7 +69,7 @@ public:
private:
virtual GraphicHelper* implCreateGraphicHelper() const SAL_OVERRIDE;
virtual ::oox::ole::VbaProject* implCreateVbaProject() const SAL_OVERRIDE;
- virtual OUString implGetImplementationName() const SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
OUString maTableStyleListPath;
diff --git a/oox/source/core/filterbase.cxx b/oox/source/core/filterbase.cxx
index bef04349b40f..cfa27967681b 100644
--- a/oox/source/core/filterbase.cxx
+++ b/oox/source/core/filterbase.cxx
@@ -392,11 +392,6 @@ bool FilterBase::importBinaryData( StreamDataSequence& orDataSeq, const OUString
// com.sun.star.lang.XServiceInfo interface
-OUString SAL_CALL FilterBase::getImplementationName() throw( RuntimeException, std::exception )
-{
- return implGetImplementationName();
-}
-
sal_Bool SAL_CALL FilterBase::supportsService( const OUString& rServiceName ) throw( RuntimeException, std::exception )
{
return cppu::supportsService(this, rServiceName);
diff --git a/oox/source/ppt/dgmimport.cxx b/oox/source/ppt/dgmimport.cxx
index 91a46bd96752..5b20196f9ca3 100644
--- a/oox/source/ppt/dgmimport.cxx
+++ b/oox/source/ppt/dgmimport.cxx
@@ -112,7 +112,7 @@ oox::drawingml::chart::ChartConverter* QuickDiagrammingImport::getChartConverter
return 0;
}
-OUString QuickDiagrammingImport::implGetImplementationName() const
+OUString QuickDiagrammingImport::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return QuickDiagrammingImport_getImplementationName();
}
diff --git a/oox/source/ppt/dgmlayout.cxx b/oox/source/ppt/dgmlayout.cxx
index 9937b3f777ea..681f5b532a7a 100644
--- a/oox/source/ppt/dgmlayout.cxx
+++ b/oox/source/ppt/dgmlayout.cxx
@@ -163,7 +163,7 @@ const oox::drawingml::table::TableStyleListPtr QuickDiagrammingLayout::getTableS
return 0;
}
-OUString QuickDiagrammingLayout::implGetImplementationName() const
+OUString QuickDiagrammingLayout::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return QuickDiagrammingLayout_getImplementationName();
}
diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx
index fc29c1ce277b..27d831762aa8 100644
--- a/oox/source/ppt/pptimport.cxx
+++ b/oox/source/ppt/pptimport.cxx
@@ -226,7 +226,7 @@ GraphicHelper* PowerPointImport::implCreateGraphicHelper() const
return new ::oox::ole::VbaProject( getComponentContext(), getModel(), "Impress" );
}
-OUString PowerPointImport::implGetImplementationName() const
+OUString PowerPointImport::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return PowerPointImport_getImplementationName();
}
diff --git a/oox/source/shape/ShapeFilterBase.cxx b/oox/source/shape/ShapeFilterBase.cxx
index c40131f9100c..2d886749528e 100644
--- a/oox/source/shape/ShapeFilterBase.cxx
+++ b/oox/source/shape/ShapeFilterBase.cxx
@@ -67,7 +67,7 @@ const ::oox::drawingml::table::TableStyleListPtr ShapeFilterBase::getTableStyles
return new ::oox::ole::VbaProject( getComponentContext(), getModel(), "Writer" );
}
-OUString ShapeFilterBase::implGetImplementationName() const
+OUString ShapeFilterBase::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return OUString();
}
diff --git a/oox/source/shape/ShapeFilterBase.hxx b/oox/source/shape/ShapeFilterBase.hxx
index 0072c22ac1e4..06d4722bd8a4 100644
--- a/oox/source/shape/ShapeFilterBase.hxx
+++ b/oox/source/shape/ShapeFilterBase.hxx
@@ -61,7 +61,7 @@ public:
private:
virtual ::oox::ole::VbaProject* implCreateVbaProject() const SAL_OVERRIDE;
- virtual OUString implGetImplementationName() const SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual GraphicHelper* implCreateGraphicHelper() const SAL_OVERRIDE;
::boost::shared_ptr< ::oox::drawingml::chart::ChartConverter > mxChartConv;
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index ba83118740cb..36c4d799f491 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -1127,7 +1127,7 @@ bool XclExpXmlStream::exportDocument()
return new ::oox::xls::ExcelVbaProject( getComponentContext(), Reference< XSpreadsheetDocument >( getModel(), UNO_QUERY ) );
}
-OUString XclExpXmlStream::implGetImplementationName() const
+OUString XclExpXmlStream::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return OUString( "TODO" );
}
diff --git a/sc/source/filter/inc/excelfilter.hxx b/sc/source/filter/inc/excelfilter.hxx
index 0d131e99014b..75d78644378c 100644
--- a/sc/source/filter/inc/excelfilter.hxx
+++ b/sc/source/filter/inc/excelfilter.hxx
@@ -53,7 +53,7 @@ public:
private:
virtual GraphicHelper* implCreateGraphicHelper() const SAL_OVERRIDE;
virtual ::oox::ole::VbaProject* implCreateVbaProject() const SAL_OVERRIDE;
- virtual OUString implGetImplementationName() const SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
WorkbookGlobals* mpBookGlob;
};
diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx
index aad2d435246d..fd41b7362610 100644
--- a/sc/source/filter/inc/xestream.hxx
+++ b/sc/source/filter/inc/xestream.hxx
@@ -369,7 +369,7 @@ public:
private:
virtual ::oox::ole::VbaProject* implCreateVbaProject() const SAL_OVERRIDE;
- virtual OUString implGetImplementationName() const SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
ScDocShell *getDocShell();
sax_fastparser::FSHelperPtr& WriteAttributesInternal( sal_Int32 nAttribute, ... );
diff --git a/sc/source/filter/oox/excelfilter.cxx b/sc/source/filter/oox/excelfilter.cxx
index bf30b6827e78..5771a9054005 100644
--- a/sc/source/filter/oox/excelfilter.cxx
+++ b/sc/source/filter/oox/excelfilter.cxx
@@ -175,7 +175,7 @@ sal_Bool SAL_CALL ExcelFilter::filter( const ::com::sun::star::uno::Sequence< ::
return false;
}
-OUString ExcelFilter::implGetImplementationName() const
+OUString ExcelFilter::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return OUString( "com.sun.star.comp.oox.xls.ExcelFilter" );
}
diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx
index 9c977fe77562..f470066c76a5 100644
--- a/sd/source/filter/eppt/epptooxml.hxx
+++ b/sd/source/filter/eppt/epptooxml.hxx
@@ -133,7 +133,7 @@ private:
void AddLayoutIdAndRelation( ::sax_fastparser::FSHelperPtr pFS, sal_Int32 nLayoutFileId );
- virtual OUString implGetImplementationName() const SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
::boost::shared_ptr< ::oox::drawingml::chart::ChartConverter > mxChartConv;
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index 98f80e32e91f..1ff74f5c79e9 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -2162,7 +2162,7 @@ uno::Reference< uno::XInterface > SAL_CALL PowerPointExport_createInstance(const
return (cppu::OWeakObject*)new PowerPointExport( rxCtxt );
}
-OUString PowerPointExport::implGetImplementationName() const
+OUString PowerPointExport::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return PowerPointExport_getImplementationName();
}
diff --git a/sw/source/filter/ww8/docxexportfilter.cxx b/sw/source/filter/ww8/docxexportfilter.cxx
index aaa857e70716..ae28005df6b2 100644
--- a/sw/source/filter/ww8/docxexportfilter.cxx
+++ b/sw/source/filter/ww8/docxexportfilter.cxx
@@ -91,7 +91,7 @@ OUString DocxExport_getImplementationName()
return OUString( IMPL_NAME );
}
-OUString DocxExportFilter::implGetImplementationName() const
+OUString DocxExportFilter::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return DocxExport_getImplementationName();
}
diff --git a/sw/source/filter/ww8/docxexportfilter.hxx b/sw/source/filter/ww8/docxexportfilter.hxx
index 1653cd62e5ca..0c79a0668d19 100644
--- a/sw/source/filter/ww8/docxexportfilter.hxx
+++ b/sw/source/filter/ww8/docxexportfilter.hxx
@@ -45,9 +45,7 @@ public:
virtual bool exportDocument() SAL_OVERRIDE;
private:
-
- /// Implementatio of the filter abstract method.
- virtual OUString implGetImplementationName() const SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::oox::ole::VbaProject* implCreateVbaProject() const SAL_OVERRIDE
{