[Libreoffice-commits] .: binfilter/bf_xmloff binfilter/inc

Caolán McNamara caolan at kemper.freedesktop.org
Wed Aug 17 07:51:04 PDT 2011


 binfilter/bf_xmloff/source/core/xmloff_xmlexp.cxx |    9 ---------
 binfilter/bf_xmloff/source/core/xmloff_xmlimp.cxx |    9 ---------
 binfilter/inc/bf_xmloff/xmlexp.hxx                |    1 -
 binfilter/inc/bf_xmloff/xmlimp.hxx                |    1 -
 4 files changed, 20 deletions(-)

New commits:
commit a87a0f9328e4af88cfd5d592def6524c8c32d4eb
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Aug 17 15:31:35 2011 +0100

    remove freshly unused methods

diff --git a/binfilter/bf_xmloff/source/core/xmloff_xmlexp.cxx b/binfilter/bf_xmloff/source/core/xmloff_xmlexp.cxx
index c8708f2..6f7b2aa 100644
--- a/binfilter/bf_xmloff/source/core/xmloff_xmlexp.cxx
+++ b/binfilter/bf_xmloff/source/core/xmloff_xmlexp.cxx
@@ -1409,15 +1409,6 @@ const uno::Sequence< sal_Int8 > & SvXMLExport::getUnoTunnelId() throw()
     return *pSeq;
 }
 
-SvXMLExport* SvXMLExport::getImplementation( uno::Reference< uno::XInterface > xInt ) throw()
-{
-    uno::Reference< lang::XUnoTunnel > xUT( xInt, uno::UNO_QUERY );
-    if( xUT.is() )
-        return (SvXMLExport*)xUT->getSomething( SvXMLExport::getUnoTunnelId() );
-    else
-        return NULL;
-}
-
 // XUnoTunnel
 sal_Int64 SAL_CALL SvXMLExport::getSomething( const uno::Sequence< sal_Int8 >& rId )
     throw( uno::RuntimeException )
diff --git a/binfilter/bf_xmloff/source/core/xmloff_xmlimp.cxx b/binfilter/bf_xmloff/source/core/xmloff_xmlimp.cxx
index 4206d7b..6512df0 100644
--- a/binfilter/bf_xmloff/source/core/xmloff_xmlimp.cxx
+++ b/binfilter/bf_xmloff/source/core/xmloff_xmlimp.cxx
@@ -318,15 +318,6 @@ const uno::Sequence< sal_Int8 > & SvXMLImport::getUnoTunnelId() throw()
     return *pSeq;
 }
 
-SvXMLImport* SvXMLImport::getImplementation( uno::Reference< uno::XInterface > xInt ) throw()
-{
-    uno::Reference< lang::XUnoTunnel > xUT( xInt, uno::UNO_QUERY );
-    if( xUT.is() )
-        return (SvXMLImport*)xUT->getSomething( SvXMLImport::getUnoTunnelId() );
-    else
-        return NULL;
-}
-
 // XUnoTunnel
 sal_Int64 SAL_CALL SvXMLImport::getSomething( const uno::Sequence< sal_Int8 >& rId )
     throw( uno::RuntimeException )
diff --git a/binfilter/inc/bf_xmloff/xmlexp.hxx b/binfilter/inc/bf_xmloff/xmlexp.hxx
index 04c1bd0..e79f71b 100644
--- a/binfilter/inc/bf_xmloff/xmlexp.hxx
+++ b/binfilter/inc/bf_xmloff/xmlexp.hxx
@@ -247,7 +247,6 @@ public:
     virtual ~SvXMLExport();
 
     static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
-    static SvXMLExport* getImplementation( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ) throw();
 
     // XExporter
     virtual void SAL_CALL setSourceDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
diff --git a/binfilter/inc/bf_xmloff/xmlimp.hxx b/binfilter/inc/bf_xmloff/xmlimp.hxx
index b3ac3ca..14bf405 100644
--- a/binfilter/inc/bf_xmloff/xmlimp.hxx
+++ b/binfilter/inc/bf_xmloff/xmlimp.hxx
@@ -188,7 +188,6 @@ public:
     virtual ~SvXMLImport() throw();
 
     static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
-    static SvXMLImport* getImplementation( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ) throw();
 
     // ::com::sun::star::xml::sax::XDocumentHandler
     virtual void SAL_CALL startDocument(void)


More information about the Libreoffice-commits mailing list