vbahelper: tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants. Change-Id: I8a7f7c81a876b5f1ac987375f8c43bbef89dc087 Reviewed-on: https://gerrit.libreoffice.org/18461 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
committed by
Michael Stahl
parent
9303e87bb6
commit
e50bcf0a22
@@ -56,7 +56,7 @@
|
||||
#include <com/sun/star/util/MeasureUnit.hpp>
|
||||
#include <com/sun/star/view/XControlAccess.hpp>
|
||||
#include <comphelper/anytostring.hxx>
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <filter/msfilter/msvbahelper.hxx>
|
||||
#include <ooo/vba/XCollection.hpp>
|
||||
#include <ooo/vba/XControlProvider.hpp>
|
||||
|
||||
@@ -120,8 +120,7 @@
|
||||
#include <cppuhelper/bootstrap.hxx>
|
||||
#include <cppuhelper/component_context.hxx>
|
||||
#include <cppuhelper/exc_hlp.hxx>
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase3.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <filter/msfilter/msvbahelper.hxx>
|
||||
#include <map>
|
||||
#include <math.h>
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
*/
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBABUTTON_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBABUTTON_HXX
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/msforms/XCommandButton.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper1< ScVbaControl, ov::msforms::XCommandButton > ButtonImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XCommandButton > ButtonImpl_BASE;
|
||||
|
||||
class VbaButton : public ButtonImpl_BASE
|
||||
{
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
*/
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACHECKBOX_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACHECKBOX_HXX
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/msforms/XCheckBox.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper2< ScVbaControl, ov::msforms::XCheckBox, css::script::XDefaultProperty > CheckBoxImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XCheckBox, css::script::XDefaultProperty > CheckBoxImpl_BASE;
|
||||
|
||||
class ScVbaCheckbox : public CheckBoxImpl_BASE
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACOMBOBOX_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACOMBOBOX_HXX
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/script/XDefaultProperty.hpp>
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "vbalistcontrolhelper.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper2<ScVbaControl, ov::msforms::XComboBox, css::script::XDefaultProperty > ComboBoxImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper<ScVbaControl, ov::msforms::XComboBox, css::script::XDefaultProperty > ComboBoxImpl_BASE;
|
||||
class ScVbaComboBox : public ComboBoxImpl_BASE
|
||||
{
|
||||
std::unique_ptr< ListControlHelper > mpListHelper;
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
|
||||
#include <com/sun/star/form/XFormsSupplier.hpp>
|
||||
#include <svx/svdobj.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
||||
using namespace com::sun::star;
|
||||
using namespace ooo::vba;
|
||||
@@ -94,7 +95,7 @@ ScVbaControl::getWindowPeer() throw (uno::RuntimeException)
|
||||
}
|
||||
|
||||
//ScVbaControlListener
|
||||
class ScVbaControlListener: public cppu::WeakImplHelper1< lang::XEventListener >
|
||||
class ScVbaControlListener: public cppu::WeakImplHelper< lang::XEventListener >
|
||||
{
|
||||
private:
|
||||
ScVbaControl *pControl;
|
||||
@@ -765,7 +766,7 @@ void ScVbaControl::setLocked( bool bLocked ) throw (uno::RuntimeException)
|
||||
m_xProps->setPropertyValue( "ReadOnly" , uno::makeAny( bLocked ) );
|
||||
}
|
||||
|
||||
class ControlProviderImpl : public cppu::WeakImplHelper1< XControlProvider >
|
||||
class ControlProviderImpl : public cppu::WeakImplHelper< XControlProvider >
|
||||
{
|
||||
uno::Reference< uno::XComponentContext > m_xCtx;
|
||||
public:
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACONTROL_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACONTROL_HXX
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/script/XDefaultProperty.hpp>
|
||||
@@ -33,8 +32,6 @@
|
||||
#include <vbahelper/vbahelperinterface.hxx>
|
||||
#include <memory>
|
||||
|
||||
//typedef ::cppu::WeakImplHelper1< ov::msforms::XControl > ControlImpl_BASE;
|
||||
//template SAL_DLLPUBLIC_IMPORT InheritedHelperInterfaceImpl1< ov::msforms::XControl >;
|
||||
typedef InheritedHelperInterfaceImpl1< ov::msforms::XControl > ControlImpl_BASE;
|
||||
|
||||
class ScVbaControl : public ControlImpl_BASE
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "vbacontrols.hxx"
|
||||
#include "vbacontrol.hxx"
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/XControlProvider.hpp>
|
||||
#include <unordered_map>
|
||||
|
||||
@@ -42,7 +42,7 @@ typedef std::unordered_map< OUString, sal_Int32, OUStringHash,
|
||||
std::equal_to< OUString > > ControlIndexMap;
|
||||
typedef std::vector< uno::Reference< awt::XControl > > ControlVec;
|
||||
|
||||
class ControlArrayWrapper : public ::cppu::WeakImplHelper2< container::XNameAccess, container::XIndexAccess >
|
||||
class ControlArrayWrapper : public ::cppu::WeakImplHelper< container::XNameAccess, container::XIndexAccess >
|
||||
{
|
||||
uno::Reference< awt::XControlContainer > mxDialog;
|
||||
uno::Sequence< OUString > msNames;
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACONTROLS_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACONTROLS_HXX
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <ooo/vba/msforms/XControls.hpp>
|
||||
#include <com/sun/star/awt/XControl.hpp>
|
||||
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBAFRAME_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBAFRAME_HXX
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/msforms/XFrame.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper1< ScVbaControl, ov::msforms::XFrame > FrameImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XFrame > FrameImpl_BASE;
|
||||
|
||||
class ScVbaFrame : public FrameImpl_BASE
|
||||
{
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
*/
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBAIMAGE_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBAIMAGE_HXX
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/msforms/XImage.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper1< ScVbaControl, ov::msforms::XImage > ImageImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XImage > ImageImpl_BASE;
|
||||
|
||||
class ScVbaImage : public ImageImpl_BASE
|
||||
{
|
||||
|
||||
@@ -18,14 +18,13 @@
|
||||
*/
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBALABEL_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBALABEL_HXX
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <ooo/vba/msforms/XLabel.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper2< ScVbaControl, ov::msforms::XLabel, css::script::XDefaultProperty > LabelImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XLabel, css::script::XDefaultProperty > LabelImpl_BASE;
|
||||
|
||||
class ScVbaLabel : public LabelImpl_BASE
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBALISTBOX_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBALISTBOX_HXX
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/script/XDefaultProperty.hpp>
|
||||
#include <ooo/vba/msforms/XListBox.hpp>
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "vbalistcontrolhelper.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper2<ScVbaControl, ov::msforms::XListBox, css::script::XDefaultProperty > ListBoxImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper<ScVbaControl, ov::msforms::XListBox, css::script::XDefaultProperty > ListBoxImpl_BASE;
|
||||
class ScVbaListBox : public ListBoxImpl_BASE
|
||||
,public PropListener
|
||||
{
|
||||
|
||||
@@ -20,13 +20,14 @@
|
||||
#include <ooo/vba/XCollection.hpp>
|
||||
#include "vbapages.hxx"
|
||||
#include <com/sun/star/container/XNameContainer.hpp>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
||||
using namespace com::sun::star;
|
||||
using namespace ooo::vba;
|
||||
|
||||
const OUString SVALUE( "MultiPageValue" );
|
||||
|
||||
class PagesImpl : public cppu::WeakImplHelper1< container::XIndexAccess >
|
||||
class PagesImpl : public cppu::WeakImplHelper< container::XIndexAccess >
|
||||
{
|
||||
sal_Int32 mnPages;
|
||||
public:
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBAMULTIPAGE_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBAMULTIPAGE_HXX
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/msforms/XMultiPage.hpp>
|
||||
#include <com/sun/star/container/XIndexAccess.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper1< ScVbaControl, ov::msforms::XMultiPage > MultiPageImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XMultiPage > MultiPageImpl_BASE;
|
||||
|
||||
class ScVbaMultiPage : public MultiPageImpl_BASE
|
||||
{
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
|
||||
#include <ooo/vba/msforms/XNewFont.hpp>
|
||||
#include <vbahelper/vbahelperinterface.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
||||
|
||||
|
||||
typedef cppu::WeakImplHelper1< ov::msforms::XNewFont > VbaNewFont_BASE;
|
||||
typedef cppu::WeakImplHelper< ov::msforms::XNewFont > VbaNewFont_BASE;
|
||||
|
||||
class VbaNewFont : public VbaNewFont_BASE
|
||||
{
|
||||
|
||||
@@ -23,8 +23,6 @@
|
||||
#include <com/sun/star/lang/XEventListener.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <ooo/vba/msforms/XPages.hpp>
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
|
||||
#include <vbahelper/vbacollectionimpl.hxx>
|
||||
typedef CollTestImplHelper<
|
||||
|
||||
@@ -20,14 +20,13 @@
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBAPROGRESSBAR_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBAPROGRESSBAR_HXX
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <ooo/vba/msforms/XProgressBar.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper2< ScVbaControl, ov::msforms::XProgressBar, css::script::XDefaultProperty > ProgressBarImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XProgressBar, css::script::XDefaultProperty > ProgressBarImpl_BASE;
|
||||
|
||||
class ScVbaProgressBar : public ProgressBarImpl_BASE
|
||||
{
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
#include <ooo/vba/msforms/XRadioButton.hpp>
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper2< ScVbaControl, ov::msforms::XRadioButton, css::script::XDefaultProperty > RadioButtonImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XRadioButton, css::script::XDefaultProperty > RadioButtonImpl_BASE;
|
||||
|
||||
class ScVbaRadioButton : public RadioButtonImpl_BASE
|
||||
{
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBASCROLLBAR_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBASCROLLBAR_HXX
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/msforms/XScrollBar.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper1< ScVbaControl, ov::msforms::XScrollBar > ScrollBarImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XScrollBar > ScrollBarImpl_BASE;
|
||||
|
||||
class ScVbaScrollBar : public ScrollBarImpl_BASE
|
||||
{
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
*/
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBASPINBUTTON_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBASPINBUTTON_HXX
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/msforms/XSpinButton.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper1< ScVbaControl, ov::msforms::XSpinButton > SpinButtonImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XSpinButton > SpinButtonImpl_BASE;
|
||||
|
||||
class ScVbaSpinButton : public SpinButtonImpl_BASE
|
||||
{
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBASYSTEMAXCONTROL_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBASYSTEMAXCONTROL_HXX
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <com/sun/star/script/XInvocation.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper1< ScVbaControl, css::script::XInvocation > SystemAXControlImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, css::script::XInvocation > SystemAXControlImpl_BASE;
|
||||
|
||||
class VbaSystemAXControl : public SystemAXControlImpl_BASE
|
||||
{
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBATEXTBOX_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBATEXTBOX_HXX
|
||||
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/msforms/XTextBox.hpp>
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper2< ScVbaControl, ov::msforms::XTextBox, css::script::XDefaultProperty > TextBoxImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XTextBox, css::script::XDefaultProperty > TextBoxImpl_BASE;
|
||||
|
||||
class ScVbaTextBox : public TextBoxImpl_BASE
|
||||
{
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
*/
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBATOGGLEBUTTON_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBATOGGLEBUTTON_HXX
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/msforms/XToggleButton.hpp>
|
||||
|
||||
#include "vbacontrol.hxx"
|
||||
#include <vbahelper/vbahelper.hxx>
|
||||
|
||||
typedef cppu::ImplInheritanceHelper2< ScVbaControl, ov::msforms::XToggleButton, css::script::XDefaultProperty > ToggleButtonImpl_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XToggleButton, css::script::XDefaultProperty > ToggleButtonImpl_BASE;
|
||||
|
||||
class ScVbaToggleButton : public ToggleButtonImpl_BASE
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBAUSERFORM_HXX
|
||||
#define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBAUSERFORM_HXX
|
||||
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <ooo/vba/msforms/XUserForm.hpp>
|
||||
#include <com/sun/star/awt/XDialog.hpp>
|
||||
#include <com/sun/star/awt/XControlContainer.hpp>
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "vbacontrol.hxx"
|
||||
|
||||
//typedef InheritedHelperInterfaceImpl1< ov::msforms::XUserForm > ScVbaUserForm_BASE;
|
||||
typedef cppu::ImplInheritanceHelper1< ScVbaControl, ov::msforms::XUserForm > ScVbaUserForm_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaControl, ov::msforms::XUserForm > ScVbaUserForm_BASE;
|
||||
|
||||
class ScVbaUserForm : public ScVbaUserForm_BASE
|
||||
{
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <com/sun/star/awt/XMenu.hpp>
|
||||
#include <vbahelper/vbahelperinterface.hxx>
|
||||
#include "vbacommandbarhelper.hxx"
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
||||
typedef InheritedHelperInterfaceImpl1< ov::XCommandBarControl > CommandBarControl_BASE;
|
||||
|
||||
@@ -73,7 +73,7 @@ public:
|
||||
virtual css::uno::Sequence<OUString> getServiceNames() SAL_OVERRIDE;
|
||||
};
|
||||
|
||||
typedef cppu::ImplInheritanceHelper1< ScVbaCommandBarControl, ov::XCommandBarPopup > CommandBarPopup_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaCommandBarControl, ov::XCommandBarPopup > CommandBarPopup_BASE;
|
||||
class ScVbaCommandBarPopup : public CommandBarPopup_BASE
|
||||
{
|
||||
public:
|
||||
@@ -88,7 +88,7 @@ public:
|
||||
virtual css::uno::Sequence<OUString> getServiceNames() SAL_OVERRIDE;
|
||||
};
|
||||
|
||||
typedef cppu::ImplInheritanceHelper1< ScVbaCommandBarControl, ov::XCommandBarButton > CommandBarButton_BASE;
|
||||
typedef cppu::ImplInheritanceHelper< ScVbaCommandBarControl, ov::XCommandBarButton > CommandBarButton_BASE;
|
||||
class ScVbaCommandBarButton : public CommandBarButton_BASE
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
using namespace com::sun::star;
|
||||
using namespace ooo::vba;
|
||||
|
||||
class CommandBarControlEnumeration : public ::cppu::WeakImplHelper1< container::XEnumeration >
|
||||
class CommandBarControlEnumeration : public ::cppu::WeakImplHelper< container::XEnumeration >
|
||||
{
|
||||
//uno::Reference< uno::XComponentContext > m_xContext;
|
||||
CommandBarControls_BASE* m_pCommandBarControls;
|
||||
@@ -254,7 +254,7 @@ ScVbaCommandBarControls::getServiceNames()
|
||||
|
||||
|
||||
|
||||
class VbaDummyIndexAccess : public ::cppu::WeakImplHelper1< container::XIndexAccess >
|
||||
class VbaDummyIndexAccess : public ::cppu::WeakImplHelper< container::XIndexAccess >
|
||||
{
|
||||
public:
|
||||
inline VbaDummyIndexAccess() {}
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <com/sun/star/ui/XModuleUIConfigurationManager.hpp>
|
||||
#include <com/sun/star/ui/XUIConfigurationPersistence.hpp>
|
||||
#include <ooo/vba/office/MsoBarType.hpp>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
||||
#include "vbacommandbars.hxx"
|
||||
#include "vbacommandbar.hxx"
|
||||
@@ -32,7 +33,7 @@ using namespace com::sun::star;
|
||||
using namespace ooo::vba;
|
||||
|
||||
|
||||
class CommandBarEnumeration : public ::cppu::WeakImplHelper1< container::XEnumeration >
|
||||
class CommandBarEnumeration : public ::cppu::WeakImplHelper< container::XEnumeration >
|
||||
{
|
||||
uno::Reference< XHelperInterface > m_xParent;
|
||||
uno::Reference< uno::XComponentContext > m_xContext;
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#include <ooo/vba/XCommandBar.hpp>
|
||||
#include <ooo/vba/XCommandBars.hpp>
|
||||
#include <com/sun/star/container/XNameAccess.hpp>
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <vbahelper/vbahelperinterface.hxx>
|
||||
#include <vbahelper/vbacollectionimpl.hxx>
|
||||
#include "vbacommandbarhelper.hxx"
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
|
||||
#include <unotools/mediadescriptor.hxx>
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <cppuhelper/implbase3.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <com/sun/star/frame/XDesktop.hpp>
|
||||
#include <com/sun/star/container/XEnumerationAccess.hpp>
|
||||
#include <com/sun/star/frame/XComponentLoader.hpp>
|
||||
@@ -67,7 +66,7 @@ typedef std::vector < uno::Reference< frame::XModel > > Documents;
|
||||
// #FIXME clearly this is a candidate for some sort of helper base class as
|
||||
// this is a copy of SelectedSheetsEnum ( vbawindow.cxx )
|
||||
|
||||
class DocumentsEnumImpl : public ::cppu::WeakImplHelper1< container::XEnumeration >
|
||||
class DocumentsEnumImpl : public ::cppu::WeakImplHelper< container::XEnumeration >
|
||||
{
|
||||
uno::Reference< uno::XComponentContext > m_xContext;
|
||||
Documents m_documents;
|
||||
@@ -112,7 +111,7 @@ public:
|
||||
// and vector only, and the sub-class does everything else
|
||||
// => ctor, createEnumeration & factory method need be defined ( to be called
|
||||
// by getByIndex, getByName )
|
||||
typedef ::cppu::WeakImplHelper3< container::XEnumerationAccess
|
||||
typedef ::cppu::WeakImplHelper< container::XEnumerationAccess
|
||||
, com::sun::star::container::XIndexAccess
|
||||
, com::sun::star::container::XNameAccess
|
||||
> DocumentsAccessImpl_BASE;
|
||||
|
||||
Reference in New Issue
Block a user