From 93be239c9512c27369e1134150610248e93d6157 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 25 Nov 2011 15:15:47 +0100 Subject: the bit hackish addFormula() shortcut is no longer necessary --- sw/inc/docsh.hxx | 2 -- sw/inc/unotxdoc.hxx | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'sw/inc') diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index e62699abf896..96a1eaa9f3a4 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -143,8 +143,6 @@ protected: public: using SotObject::GetInterface; - void addFormula( com::sun::star::uno::Reference< com::sun::star::embed::XEmbeddedObject > p); - // but we implement this ourselves. SFX_DECL_INTERFACE(SW_DOCSHELL) SFX_DECL_OBJECTFACTORY() diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx index ca21090f1f93..5d61a9a60b5e 100644 --- a/sw/inc/unotxdoc.hxx +++ b/sw/inc/unotxdoc.hxx @@ -181,8 +181,7 @@ SwXTextDocumentBaseClass; class SW_DLLPUBLIC SwXTextDocument : public SwXTextDocumentBaseClass, public SvxFmMSFactory, - public SfxBaseModel, - public oox::FormulaImportHelper + public SfxBaseModel { ActionContextArr aActionArr; SwRefreshListenerContainer aRefreshCont; @@ -254,8 +253,6 @@ public: virtual void SAL_CALL acquire( ) throw(); virtual void SAL_CALL release( ) throw(); - virtual void addFormula( com::sun::star::uno::Reference< com::sun::star::embed::XEmbeddedObject > p ); - //XWeak virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter( ) throw(css::uno::RuntimeException); -- cgit v1.2.3