sax: com.sun.star.xml.sax.FastSerializer seems to be unused
Change-Id: I826da00c83589f468c499879d86546d60b2aa515 Reviewed-on: https://gerrit.libreoffice.org/480 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
This commit is contained in:
committed by
Kohei Yoshida
parent
ea744ff9e8
commit
2ecd5b0372
@@ -21,7 +21,6 @@
|
||||
#include <cppuhelper/weak.hxx>
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
|
||||
#include <fastserializer.hxx>
|
||||
#include "fastparser.hxx"
|
||||
|
||||
using namespace sax_fastparser;
|
||||
@@ -34,9 +33,6 @@ using namespace ::com::sun::star::lang;
|
||||
namespace sax_fastparser
|
||||
{
|
||||
|
||||
//--------------------------------------
|
||||
// the extern interface
|
||||
//---------------------------------------
|
||||
Reference< XInterface > SAL_CALL FastSaxParser_CreateInstance(
|
||||
SAL_UNUSED_PARAMETER const Reference< XMultiServiceFactory > & )
|
||||
throw(Exception)
|
||||
@@ -45,13 +41,6 @@ Reference< XInterface > SAL_CALL FastSaxParser_CreateInstance(
|
||||
return Reference< XInterface > ( (OWeakObject * ) p );
|
||||
}
|
||||
|
||||
Reference< XInterface > SAL_CALL FastSaxSerializer_CreateInstance(
|
||||
SAL_UNUSED_PARAMETER const Reference< XMultiServiceFactory > & )
|
||||
throw(Exception)
|
||||
{
|
||||
FastSaxSerializer *p = new FastSaxSerializer;
|
||||
return Reference< XInterface > ( (OWeakObject * ) p );
|
||||
}
|
||||
}
|
||||
|
||||
extern "C"
|
||||
@@ -76,12 +65,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL fastsax_component_getFactory(
|
||||
FastSaxParser_CreateInstance,
|
||||
FastSaxParser::getSupportedServiceNames_Static() );
|
||||
}
|
||||
else if ( aImplementationName == SERIALIZER_IMPLEMENTATION_NAME )
|
||||
{
|
||||
xRet = createSingleFactory( xSMgr, aImplementationName,
|
||||
FastSaxSerializer_CreateInstance,
|
||||
FastSaxSerializer::getSupportedServiceNames_Static() );
|
||||
}
|
||||
|
||||
if (xRet.is())
|
||||
{
|
||||
|
@@ -22,7 +22,4 @@
|
||||
<implementation name="com.sun.star.comp.extensions.xml.sax.FastParser">
|
||||
<service name="com.sun.star.xml.sax.FastParser"/>
|
||||
</implementation>
|
||||
<implementation name="com.sun.star.comp.extensions.xml.sax.FastSerializer">
|
||||
<service name="com.sun.star.xml.sax.FastSerializer"/>
|
||||
</implementation>
|
||||
</component>
|
||||
|
@@ -17,7 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <fastserializer.hxx>
|
||||
#include "fastserializer.hxx"
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
|
||||
#include <comphelper/sequenceasvector.hxx>
|
||||
|
@@ -39,7 +39,7 @@
|
||||
|
||||
namespace sax_fastparser {
|
||||
|
||||
class SAX_DLLPUBLIC FastSaxSerializer : public ::cppu::WeakImplHelper2< ::com::sun::star::xml::sax::XFastSerializer, ::com::sun::star::lang::XServiceInfo >
|
||||
class FastSaxSerializer : public ::cppu::WeakImplHelper2< ::com::sun::star::xml::sax::XFastSerializer, ::com::sun::star::lang::XServiceInfo >
|
||||
{
|
||||
typedef ::com::sun::star::uno::Sequence< ::sal_Int8 > Int8Sequence;
|
||||
typedef ::com::sun::star::uno::Sequence< ::sal_Int32 > Int32Sequence;
|
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <sax/fshelper.hxx>
|
||||
#include <fastserializer.hxx>
|
||||
#include "fastserializer.hxx"
|
||||
#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
|
Reference in New Issue
Block a user