From 2cebd4d0860c7bf3d601023b942fdbe1a522d33a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 7 Feb 2015 12:33:55 +0100 Subject: loplugin:deletedspecial Change-Id: Id3f938a5794e29b14c6adca0065465f3412c5fe2 --- vbahelper/source/msforms/vbacontrol.hxx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'vbahelper') diff --git a/vbahelper/source/msforms/vbacontrol.hxx b/vbahelper/source/msforms/vbacontrol.hxx index efd9304eb47c..baac836bd87d 100644 --- a/vbahelper/source/msforms/vbacontrol.hxx +++ b/vbahelper/source/msforms/vbacontrol.hxx @@ -118,25 +118,20 @@ public: }; -class ScVbaControlFactory +namespace ScVbaControlFactory { -public: - static css::uno::Reference< ov::msforms::XControl > createShapeControl( + css::uno::Reference< ov::msforms::XControl > createShapeControl( const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::drawing::XControlShape >& xControlShape, const css::uno::Reference< css::frame::XModel >& xModel ) throw (css::uno::RuntimeException); - static css::uno::Reference< ov::msforms::XControl > createUserformControl( + css::uno::Reference< ov::msforms::XControl > createUserformControl( const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::awt::XControl >& xControl, const css::uno::Reference< css::awt::XControl >& xDialog, const css::uno::Reference< css::frame::XModel >& xModel, double fOffsetX, double fOffsetY ) throw (css::uno::RuntimeException); - -private: - ScVbaControlFactory(); - ~ScVbaControlFactory(); -}; +} #endif // INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACONTROL_HXX -- cgit