diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8par.hxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.hxx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx index fdf5185146de..901d87670320 100644 --- a/sw/source/filter/ww8/ww8par.hxx +++ b/sw/source/filter/ww8/ww8par.hxx @@ -616,6 +616,11 @@ public: std::vector<String> maListEntries; virtual ~WW8FormulaControl() {} void FormulaRead(SwWw8ControlType nWhich,SvStream *pD); + virtual sal_Bool Import(const com::sun::star::uno::Reference < + com::sun::star::lang::XMultiServiceFactory> &rServiceFactory, + com::sun::star::uno::Reference < + com::sun::star::form::XFormComponent> &rFComp, + com::sun::star::awt::Size &rSz) = 0; private: //No copying WW8FormulaControl(const WW8FormulaControl&); @@ -629,8 +634,6 @@ private: WW8FormulaCheckBox(const WW8FormulaCheckBox&); WW8FormulaCheckBox& operator=(const WW8FormulaCheckBox&); - using OCX_Control::Import; - public: WW8FormulaCheckBox(SwWW8ImplReader &rR); @@ -648,8 +651,6 @@ private: WW8FormulaListBox(const WW8FormulaListBox&); WW8FormulaListBox& operator=(const WW8FormulaListBox&); - using OCX_Control::Import; - public: WW8FormulaListBox(SwWW8ImplReader &rR); @@ -668,6 +669,12 @@ private: WW8FormulaEditBox& operator=(const WW8FormulaEditBox&); public: WW8FormulaEditBox(SwWW8ImplReader &rR); + //no real implementation, return false + virtual sal_Bool Import(const com::sun::star::uno::Reference < + com::sun::star::lang::XMultiServiceFactory> & /* rServiceFactory */, + com::sun::star::uno::Reference < + com::sun::star::form::XFormComponent> & /* rFComp */, + com::sun::star::awt::Size & /* rSz */) { return sal_False; } }; class SwMSConvertControls: public SvxMSConvertOCXControls |