summaryrefslogtreecommitdiff
path: root/vbahelper/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-23 14:38:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-23 14:38:00 +0100
commit095c493edd34ea490c602a2b99a017561b286f61 (patch)
treeab40f2a6edd8fc3b318164a997a081b92eee428f /vbahelper/source
parent0e9d01756c8adf890ce73c2115bab5d91a2e2fb4 (diff)
WaE: drop unused ctor argument
Diffstat (limited to 'vbahelper/source')
-rw-r--r--vbahelper/source/msforms/vbacontrol.cxx2
-rw-r--r--vbahelper/source/msforms/vbamultipage.cxx3
-rw-r--r--vbahelper/source/msforms/vbamultipage.hxx3
3 files changed, 3 insertions, 5 deletions
diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx
index 8bebe6050d44..195e34e21a05 100644
--- a/vbahelper/source/msforms/vbacontrol.cxx
+++ b/vbahelper/source/msforms/vbacontrol.cxx
@@ -581,7 +581,7 @@ void SAL_CALL ScVbaControl::setTabIndex( sal_Int32 /*nTabIndex*/ ) throw (uno::R
else if ( xServiceInfo->supportsService( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.UnoControlScrollBarModel") ) ) )
xVBAControl.set( new ScVbaScrollBar( xVbaParent, xContext, xControl, xModel, xGeoHelper.release() ) );
else if ( xServiceInfo->supportsService( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.UnoMultiPageModel") ) ) )
- xVBAControl.set( new ScVbaMultiPage( xVbaParent, xContext, xControl, xModel, xGeoHelper.release(), xDialog ) );
+ xVBAControl.set( new ScVbaMultiPage( xVbaParent, xContext, xControl, xModel, xGeoHelper.release() ) );
else if ( xServiceInfo->supportsService( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.UnoControlSpinButtonModel") ) ) )
xVBAControl.set( new ScVbaSpinButton( xVbaParent, xContext, xControl, xModel, xGeoHelper.release() ) );
else if ( xServiceInfo->supportsService( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.custom.awt.UnoControlSystemAXContainerModel") ) ) )
diff --git a/vbahelper/source/msforms/vbamultipage.cxx b/vbahelper/source/msforms/vbamultipage.cxx
index 902aeba84e71..6064a2891724 100644
--- a/vbahelper/source/msforms/vbamultipage.cxx
+++ b/vbahelper/source/msforms/vbamultipage.cxx
@@ -72,8 +72,7 @@ ScVbaMultiPage::ScVbaMultiPage(
const uno::Reference< uno::XComponentContext >& xContext,
const uno::Reference< uno::XInterface >& xControl,
const uno::Reference< frame::XModel >& xModel,
- AbstractGeometryAttributes* pGeomHelper,
- const uno::Reference< awt::XControl >& xDialog ) :
+ AbstractGeometryAttributes* pGeomHelper) :
MultiPageImpl_BASE( xParent, xContext, xControl, xModel, pGeomHelper )
{
}
diff --git a/vbahelper/source/msforms/vbamultipage.hxx b/vbahelper/source/msforms/vbamultipage.hxx
index aa22922f8578..a12db7ce7c55 100644
--- a/vbahelper/source/msforms/vbamultipage.hxx
+++ b/vbahelper/source/msforms/vbamultipage.hxx
@@ -46,8 +46,7 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& xContext,
const css::uno::Reference< css::uno::XInterface >& xControl,
const css::uno::Reference< css::frame::XModel >& xModel,
- ov::AbstractGeometryAttributes* pGeomHelper,
- const css::uno::Reference< css::awt::XControl >& xDialog );
+ ov::AbstractGeometryAttributes* pGeomHelper);
// Attributes
virtual sal_Int32 SAL_CALL getValue() throw (css::uno::RuntimeException);