summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:33:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:36:04 +0100
commit2cebd4d0860c7bf3d601023b942fdbe1a522d33a (patch)
treeb7749e71f20a58d1866f1238c5e4903a3c2b1621 /vbahelper
parent9888b279e56c440c3a2030ff5f1b0d7ab8b6ca1b (diff)
loplugin:deletedspecial
Change-Id: Id3f938a5794e29b14c6adca0065465f3412c5fe2
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/msforms/vbacontrol.hxx13
1 files changed, 4 insertions, 9 deletions
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