Kaydet (Commit) d4b904f7 authored tarafından Noel Grandin's avatar Noel Grandin

more fixes for my FilePicker changes

in 4b51374a "fdo#46808, Adapt
ui::dialogs::FilePicker UNO service to new style"

Change-Id: Ie23b49d9eb6e491b543d44da124e50efa5b65376
üst 03d5d889
......@@ -31,7 +31,7 @@
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <cppuhelper/compbase5.hxx>
#include <cppuhelper/compbase6.hxx>
#include <cppuhelper/basemutex.hxx>
#include <rtl/ustring.hxx>
......@@ -43,11 +43,12 @@ namespace vista{
// types
//-----------------------------------------------------------------------------
typedef ::cppu::WeakComponentImplHelper5<
typedef ::cppu::WeakComponentImplHelper6<
css::ui::dialogs::XFilePicker2,
css::ui::dialogs::XFilePicker3,
css::ui::dialogs::XFilePickerControlAccess,
css::ui::dialogs::XFilePreview,
css::lang::XInitialization,
css::lang::XServiceInfo > TVistaFilePickerBase;
//-----------------------------------------------------------------------------
......
......@@ -20,11 +20,12 @@
#ifndef _UNXFILEPICKER_HXX_
#define _UNXFILEPICKER_HXX_
#include <cppuhelper/compbase4.hxx>
#include <cppuhelper/compbase5.hxx>
#include <osl/conditn.hxx>
#include <osl/mutex.hxx>
#include <rtl/ustrbuf.hxx>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker2.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
......@@ -46,11 +47,12 @@ protected:
class UnxFilePicker :
public UnxFilePickerDummy,
public cppu::WeakComponentImplHelper4<
public cppu::WeakComponentImplHelper5<
::com::sun::star::ui::dialogs::XFilePicker2,
::com::sun::star::ui::dialogs::XFilePicker3,
::com::sun::star::ui::dialogs::XFilePickerControlAccess,
// TODO ::com::sun::star::ui::dialogs::XFilePreview,
::com::sun::star::lang::XInitialization,
::com::sun::star::lang::XServiceInfo >
{
protected:
......
......@@ -19,9 +19,10 @@
#pragma once
#include <cppuhelper/compbase4.hxx>
#include <cppuhelper/compbase5.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker2.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker3.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
......@@ -42,11 +43,12 @@ class QLayout;
class ResMgr;
class KDE4FilePicker :
public cppu::WeakComponentImplHelper4<
public cppu::WeakComponentImplHelper5<
::com::sun::star::ui::dialogs::XFilePicker2,
::com::sun::star::ui::dialogs::XFilePicker3,
::com::sun::star::ui::dialogs::XFilePickerControlAccess,
// TODO ::com::sun::star::ui::dialogs::XFilePreview,
::com::sun::star::lang::XInitialization,
::com::sun::star::lang::XServiceInfo >
{
protected:
......
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