summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/PropertyMap.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper/PropertyMap.hxx')
-rw-r--r--writerfilter/source/dmapper/PropertyMap.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx
index 69f5a905cb0c..4d2a9cd2047a 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.hxx
@@ -114,6 +114,9 @@ public:
GrabBagType getGrabBagType() const { return m_GrabBagType; }
};
+class PropertyMap;
+typedef tools::SvRef< PropertyMap > PropertyMapPtr;
+
class PropertyMap : public virtual SvRefBase
{
private:
@@ -142,7 +145,7 @@ public:
void Erase( PropertyIds eId);
// Imports properties from pMap
- void InsertProps( const tools::SvRef< PropertyMap >& rMap, const bool bOverwrite = true );
+ void InsertProps( const PropertyMapPtr& rMap, const bool bOverwrite = true );
// Returns a copy of the property if it exists, .first is its PropertyIds and .second is its Value (type css::uno::Any)
boost::optional< Property > getProperty( PropertyIds eId ) const;
@@ -176,8 +179,6 @@ protected:
}
};
-typedef tools::SvRef< PropertyMap > PropertyMapPtr;
-
class SectionPropertyMap : public PropertyMap
{
public: