include/svl/itemprop.hxx      |    7 ++++---
 svl/source/items/itemprop.cxx |    2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

New commits:
commit a2ee9929c8a4a8b6d4b6857db79f0b64e230d9f6
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Wed Sep 11 10:29:49 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Sep 11 20:40:47 2024 +0200

    use more concrete UNO type in svl
    
    Change-Id: I794fba1f111709e0469812d48eb81cc4dc1f11d3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173195
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx
index ddd636272ea4..ff12f4060551 100644
--- a/include/svl/itemprop.hxx
+++ b/include/svl/itemprop.hxx
@@ -23,6 +23,7 @@
 #include <com/sun/star/beans/PropertyState.hpp>
 #include <comphelper/propertysetinfo.hxx>
 #include <cppuhelper/implbase.hxx>
+#include <rtl/ref.hxx>
 #include <svl/itemset.hxx>
 #include <svl/svldllapi.h>
 #include <o3tl/sorted_vector.hxx>
@@ -88,10 +89,11 @@ private:
     mutable css::uno::Sequence< css::beans::Property > m_aPropSeq;
 };
 
+class SfxItemPropertySetInfo;
 class SVL_DLLPUBLIC SfxItemPropertySet final
 {
     SfxItemPropertyMap                                        m_aMap;
-    mutable css::uno::Reference<css::beans::XPropertySetInfo> m_xInfo;
+    mutable rtl::Reference<SfxItemPropertySetInfo> m_xInfo;
 
 public:
                             SfxItemPropertySet( std::span<const 
SfxItemPropertyMapEntry> pMap ) :
@@ -131,8 +133,7 @@ public:
         getPropertyState(const SfxItemPropertyMapEntry& rEntry, const 
SfxItemSet& rSet)
                                     noexcept;
 
-    css::uno::Reference<css::beans::XPropertySetInfo> const &
-        getPropertySetInfo() const;
+    rtl::Reference<SfxItemPropertySetInfo> const & getPropertySetInfo() const;
     const SfxItemPropertyMap& getPropertyMap() const {return m_aMap;}
 };
 
diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx
index 923bd7c0b260..329f84df722e 100644
--- a/svl/source/items/itemprop.cxx
+++ b/svl/source/items/itemprop.cxx
@@ -227,7 +227,7 @@ PropertyState   SfxItemPropertySet::getPropertyState(const 
OUString& rName, cons
     return eRet;
 }
 
-Reference<XPropertySetInfo> const & SfxItemPropertySet::getPropertySetInfo() 
const
+rtl::Reference<SfxItemPropertySetInfo> const & 
SfxItemPropertySet::getPropertySetInfo() const
 {
     if( !m_xInfo.is() )
         m_xInfo = new SfxItemPropertySetInfo( m_aMap );

Reply via email to