use more concrete UNO types in ucb
Change-Id: I3f3c94c6aa320d9e2a7658f0ee7005ae25100fc6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173269 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
This commit is contained in:
@@ -38,6 +38,7 @@
|
|||||||
#include <rtl/ref.hxx>
|
#include <rtl/ref.hxx>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
|
class PropertySetRegistry;
|
||||||
|
|
||||||
using UcbStore_Base = comphelper::WeakComponentImplHelper <
|
using UcbStore_Base = comphelper::WeakComponentImplHelper <
|
||||||
css::lang::XServiceInfo,
|
css::lang::XServiceInfo,
|
||||||
@@ -48,7 +49,7 @@ class UcbStore : public UcbStore_Base
|
|||||||
{
|
{
|
||||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||||
css::uno::Sequence< css::uno::Any > m_aInitArgs;
|
css::uno::Sequence< css::uno::Any > m_aInitArgs;
|
||||||
css::uno::Reference< css::ucb::XPropertySetRegistry > m_xTheRegistry;
|
rtl::Reference< PropertySetRegistry > m_xTheRegistry;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit UcbStore( const css::uno::Reference< css::uno::XComponentContext >& xContext );
|
explicit UcbStore( const css::uno::Reference< css::uno::XComponentContext >& xContext );
|
||||||
|
@@ -193,7 +193,7 @@ FileProvider::createContentIdentifier(
|
|||||||
|
|
||||||
//XPropertySetInfoImpl
|
//XPropertySetInfoImpl
|
||||||
|
|
||||||
namespace {
|
namespace fileaccess {
|
||||||
|
|
||||||
class XPropertySetInfoImpl2
|
class XPropertySetInfoImpl2
|
||||||
: public cppu::OWeakObject,
|
: public cppu::OWeakObject,
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||||
#include <com/sun/star/ucb/XFileIdentifierConverter.hpp>
|
#include <com/sun/star/ucb/XFileIdentifierConverter.hpp>
|
||||||
#include <cppuhelper/implbase.hxx>
|
#include <cppuhelper/implbase.hxx>
|
||||||
|
#include <rtl/ref.hxx>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
@@ -39,6 +40,7 @@ namespace fileaccess {
|
|||||||
|
|
||||||
class BaseContent;
|
class BaseContent;
|
||||||
class TaskManager;
|
class TaskManager;
|
||||||
|
class XPropertySetInfoImpl2;
|
||||||
|
|
||||||
class FileProvider: public cppu::WeakImplHelper <
|
class FileProvider: public cppu::WeakImplHelper <
|
||||||
css::lang::XServiceInfo,
|
css::lang::XServiceInfo,
|
||||||
@@ -147,7 +149,7 @@ namespace fileaccess {
|
|||||||
OUString m_HomeDirectory;
|
OUString m_HomeDirectory;
|
||||||
sal_Int32 m_FileSystemNotation;
|
sal_Int32 m_FileSystemNotation;
|
||||||
|
|
||||||
css::uno::Reference< css::beans::XPropertySetInfo > m_xPropertySetInfo;
|
rtl::Reference< XPropertySetInfoImpl2 > m_xPropertySetInfo;
|
||||||
|
|
||||||
std::unique_ptr<TaskManager> m_pMyShell;
|
std::unique_ptr<TaskManager> m_pMyShell;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user