From dd91af40e384226e577f5a4b96b48e293cf31fa3 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Fri, 24 Aug 2012 14:59:01 +0100 Subject: clean up unnecessary non working implementations Change-Id: I4cbc0fbf17aa80db4b19df630d6f18f97b9f6982 --- vbahelper/inc/vbahelper/vbahelper.hxx | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'vbahelper/inc') diff --git a/vbahelper/inc/vbahelper/vbahelper.hxx b/vbahelper/inc/vbahelper/vbahelper.hxx index 42f7ea23bd82..d1d15f549b17 100644 --- a/vbahelper/inc/vbahelper/vbahelper.hxx +++ b/vbahelper/inc/vbahelper/vbahelper.hxx @@ -27,10 +27,6 @@ #include #include #include -#include -#include -#include -#include #include #include #include @@ -77,7 +73,7 @@ namespace ooo VBAHELPER_DLLPUBLIC css::uno::Reference< css::script::XTypeConverter > getTypeConverter( const css::uno::Reference< css::uno::XComponentContext >& xContext ) throw (css::uno::RuntimeException); VBAHELPER_DLLPUBLIC void dispatchRequests( const css::uno::Reference< css::frame::XModel>& xModel, const rtl::OUString& aUrl ); - VBAHELPER_DLLPUBLIC void dispatchRequests (const css::uno::Reference< css::frame::XModel>& xModel, const rtl::OUString & aUrl, const css::uno::Sequence< css::beans::PropertyValue >& sProps, const css::uno::Reference< css::frame::XDispatchResultListener >& rListener = css::uno::Reference< css::frame::XDispatchResultListener >(), const sal_Bool bSilent = sal_True ); + VBAHELPER_DLLPUBLIC void dispatchRequests (const css::uno::Reference< css::frame::XModel>& xModel, const rtl::OUString & aUrl, const css::uno::Sequence< css::beans::PropertyValue >& sProps ); VBAHELPER_DLLPUBLIC void dispatchExecute(SfxViewShell* pView, sal_uInt16 nSlot, SfxCallMode nCall = SFX_CALLMODE_SYNCHRON ); VBAHELPER_DLLPUBLIC sal_Int32 OORGBToXLRGB( sal_Int32 ); VBAHELPER_DLLPUBLIC sal_Int32 XLRGBToOORGB( sal_Int32 ); @@ -252,24 +248,6 @@ public: static void exception( const css::uno::Exception& ex ) throw( css::script::BasicErrorException ); }; -class VBAHELPER_DLLPUBLIC VBADispatchListener : public cppu::WeakImplHelper1< css::frame::XDispatchResultListener > -{ -private: - css::uno::Any m_Result; - sal_Bool m_State; - -public: - VBADispatchListener(); - ~VBADispatchListener(); - - css::uno::Any getResult() { return m_Result; } - sal_Bool getState() { return m_State; } - - // XDispatchResultListener - virtual void SAL_CALL dispatchFinished( const css::frame::DispatchResultEvent& aEvent ) throw ( css::uno::RuntimeException ); - virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent ) throw ( css::uno::RuntimeException ); -}; - } // vba } // ooo -- cgit