[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Thu Apr 23 07:40:06 PDT 2015


 svx/source/form/fmshimp.cxx |   15 ---------------
 svx/source/inc/fmshimp.hxx  |    8 --------
 2 files changed, 23 deletions(-)

New commits:
commit ec7af68a0d4c0d9b509f7267ba49be65dfc8732b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 23 16:32:18 2015 +0200

    Remove unnecessary overrides
    
    Change-Id: I76ee226728269303ca0ac4dd0386f816cb5d569a

diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index c82c85e..6ee5091 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -743,21 +743,6 @@ bool FmXFormShell::IsReadonlyDoc() const
     return true;
 }
 
-
-Any SAL_CALL FmXFormShell::queryInterface( const Type& type) throw ( RuntimeException, std::exception )
-{
-    return FmXFormShell_BASE::queryInterface(type);
-}
-
-Sequence< Type > SAL_CALL FmXFormShell::getTypes(  ) throw(RuntimeException, std::exception)
-{
-    return FmXFormShell_BASE::getTypes();
-}
-
-Sequence< sal_Int8 > SAL_CALL FmXFormShell::getImplementationId() throw(RuntimeException, std::exception)
-{
-    return css::uno::Sequence<sal_Int8>();
-}
 //  EventListener
 
 void SAL_CALL FmXFormShell::disposing(const lang::EventObject& e) throw( RuntimeException, std::exception )
diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx
index f687c79..70aadfa 100644
--- a/svx/source/inc/fmshimp.hxx
+++ b/svx/source/inc/fmshimp.hxx
@@ -255,17 +255,9 @@ public:
 public:
     SAL_DLLPRIVATE FmXFormShell(FmFormShell& _rShell, SfxViewFrame* _pViewFrame);
 
-    // UNO Anbindung
-    DECLARE_UNO3_DEFAULTS(FmXFormShell, FmXFormShell_BASE)
-    SAL_DLLPRIVATE virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& type) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
-
 protected:
     SAL_DLLPRIVATE virtual ~FmXFormShell();
 
-// XTypeProvider
-    SAL_DLLPRIVATE virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-    SAL_DLLPRIVATE ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
 // EventListener
     SAL_DLLPRIVATE virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
 


More information about the Libreoffice-commits mailing list