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:
Noel Grandin
2024-09-12 16:38:24 +02:00
parent 4000d57869
commit 925b8da694
3 changed files with 6 additions and 3 deletions

View File

@@ -38,6 +38,7 @@
#include <rtl/ref.hxx>
#include <unordered_map>
class PropertySetRegistry;
using UcbStore_Base = comphelper::WeakComponentImplHelper <
css::lang::XServiceInfo,
@@ -48,7 +49,7 @@ class UcbStore : public UcbStore_Base
{
css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::Sequence< css::uno::Any > m_aInitArgs;
css::uno::Reference< css::ucb::XPropertySetRegistry > m_xTheRegistry;
rtl::Reference< PropertySetRegistry > m_xTheRegistry;
public:
explicit UcbStore( const css::uno::Reference< css::uno::XComponentContext >& xContext );

View File

@@ -193,7 +193,7 @@ FileProvider::createContentIdentifier(
//XPropertySetInfoImpl
namespace {
namespace fileaccess {
class XPropertySetInfoImpl2
: public cppu::OWeakObject,

View File

@@ -27,6 +27,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/ucb/XFileIdentifierConverter.hpp>
#include <cppuhelper/implbase.hxx>
#include <rtl/ref.hxx>
#include <memory>
#include <mutex>
@@ -39,6 +40,7 @@ namespace fileaccess {
class BaseContent;
class TaskManager;
class XPropertySetInfoImpl2;
class FileProvider: public cppu::WeakImplHelper <
css::lang::XServiceInfo,
@@ -147,7 +149,7 @@ namespace fileaccess {
OUString m_HomeDirectory;
sal_Int32 m_FileSystemNotation;
css::uno::Reference< css::beans::XPropertySetInfo > m_xPropertySetInfo;
rtl::Reference< XPropertySetInfoImpl2 > m_xPropertySetInfo;
std::unique_ptr<TaskManager> m_pMyShell;
};