Kaydet (Commit) b73d8b16 authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Noel Grandin

fpicker: tdf#88206 replace cppu::WeakImplHelper* etc.

with the variadic variants.

Change-Id: I448557260d5a1a2534b40e2ad33e8f9d9e72b80e
Reviewed-on: https://gerrit.libreoffice.org/17686Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 2c797c39
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAFILEPICKER_HXX
#define INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAFILEPICKER_HXX
#include <cppuhelper/compbase4.hxx>
#include <cppuhelper/compbase.hxx>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
......@@ -35,7 +35,7 @@
// Implementation class for the XFilePicker Interface
typedef ::cppu::WeakComponentImplHelper4 <
typedef ::cppu::WeakComponentImplHelper <
::com::sun::star::ui::dialogs::XFilePicker3,
::com::sun::star::ui::dialogs::XFilePickerControlAccess,
::com::sun::star::lang::XInitialization,
......
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAFOLDERPICKER_HXX
#define INCLUDED_FPICKER_SOURCE_AQUA_SALAQUAFOLDERPICKER_HXX
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/util/XCancellable.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
......@@ -37,7 +37,7 @@
class SalAquaFolderPicker :
public SalAquaPicker,
public cppu::WeakImplHelper3<
public cppu::WeakImplHelper<
::com::sun::star::ui::dialogs::XFolderPicker2,
::com::sun::star::lang::XServiceInfo,
::com::sun::star::lang::XEventListener >
......
......@@ -19,7 +19,7 @@
#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_OFFICEFOLDERPICKER_HXX
#define INCLUDED_FPICKER_SOURCE_OFFICE_OFFICEFOLDERPICKER_HXX
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/ui/dialogs/XFolderPicker2.hpp>
#include <com/sun/star/ui/dialogs/XAsynchronousExecutableDialog.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
......@@ -31,7 +31,7 @@
class Dialog;
typedef
cppu::ImplInheritanceHelper3<
cppu::ImplInheritanceHelper<
svt::OCommonPicker, com::sun::star::ui::dialogs::XFolderPicker2,
com::sun::star::ui::dialogs::XAsynchronousExecutableDialog,
com::sun::star::lang::XServiceInfo >
......
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_COMMONPICKER_HXX
#define INCLUDED_FPICKER_SOURCE_OFFICE_COMMONPICKER_HXX
#include <cppuhelper/compbase5.hxx>
#include <cppuhelper/compbase.hxx>
#include <com/sun/star/ui/dialogs/XControlInformation.hpp>
#include <com/sun/star/ui/dialogs/XControlAccess.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
......@@ -43,7 +43,7 @@ namespace svt
{
typedef ::cppu::WeakComponentImplHelper5 < ::com::sun::star::ui::dialogs::XControlAccess
typedef ::cppu::WeakComponentImplHelper < ::com::sun::star::ui::dialogs::XControlAccess
, ::com::sun::star::ui::dialogs::XControlInformation
, ::com::sun::star::lang::XEventListener
, ::com::sun::star::util::XCancellable
......
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_FPICKER_SOURCE_OFFICE_FPINTERACTION_HXX
#define INCLUDED_FPICKER_SOURCE_OFFICE_FPINTERACTION_HXX
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/task/XInteractionHandler.hpp>
......@@ -31,7 +31,7 @@ namespace svt
//= OFilePickerInteractionHandler
typedef ::cppu::WeakImplHelper1 < ::com::sun::star::task::XInteractionHandler
typedef ::cppu::WeakImplHelper < ::com::sun::star::task::XInteractionHandler
> OFilePickerInteractionHandler_Base;
/** a InteractionHandler implementation which extends another handler with some customizability
......
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_FILEPICKER_HXX
#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_FILEPICKER_HXX
#include <cppuhelper/compbase6.hxx>
#include <cppuhelper/compbase.hxx>
#include <osl/mutex.hxx>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
......@@ -45,7 +45,7 @@ protected:
osl::Mutex m_rbHelperMtx;
};
typedef ::cppu::WeakComponentImplHelper6 <
typedef ::cppu::WeakComponentImplHelper <
::com::sun::star::ui::dialogs::XFilePicker2,
::com::sun::star::ui::dialogs::XFilePicker3,
::com::sun::star::ui::dialogs::XFilePickerControlAccess,
......
......@@ -32,7 +32,7 @@
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/XFilePreview.hpp>
#include <cppuhelper/compbase6.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx>
#include <rtl/ustring.hxx>
......@@ -44,7 +44,7 @@ namespace vista{
// types
typedef ::cppu::WeakComponentImplHelper6<
typedef ::cppu::WeakComponentImplHelper<
css::ui::dialogs::XFilePicker2,
css::ui::dialogs::XFilePicker3,
css::ui::dialogs::XFilePickerControlAccess,
......
......@@ -29,7 +29,7 @@
#include <com/sun/star/ui/dialogs/XFilterManager.hpp>
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/ui/dialogs/XFilePickerListener.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerNotifier.hpp>
......@@ -81,7 +81,7 @@ const OUString BMP_EXTENSION( "bmp" );
// a test client
class FilePickerListener : public WeakImplHelper1< XFilePickerListener >
class FilePickerListener : public WeakImplHelper< XFilePickerListener >
{
public:
......
......@@ -20,7 +20,7 @@
#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FOLDERPICKER_FOLDERPICKER_HXX
#define INCLUDED_FPICKER_SOURCE_WIN32_FOLDERPICKER_FOLDERPICKER_HXX
#include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase.hxx>
#include <osl/mutex.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
......@@ -36,7 +36,7 @@
class CFolderPicker :
public cppu::WeakImplHelper2<
public cppu::WeakImplHelper<
com::sun::star::ui::dialogs::XFolderPicker2,
com::sun::star::lang::XServiceInfo >
{
......
......@@ -30,7 +30,6 @@
#include <com/sun/star/ui/dialogs/XFolderPicker2.hpp>
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include <cppuhelper/implbase1.hxx>
#include <stdio.h>
......
......@@ -30,7 +30,6 @@
#include <com/sun/star/ui/dialogs/XFilterManager.hpp>
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
#include <cppuhelper/implbase1.hxx>
#include <com/sun/star/ui/dialogs/XFilePickerListener.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerNotifier.hpp>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment