summaryrefslogtreecommitdiff
path: root/include/xmloff/xmlprmap.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-30 09:53:06 +0200
committerNoel Grandin <noel@peralex.com>2014-07-02 15:23:52 +0200
commit4ff115b3e7ff9c73dcc98fc6e7109f499ea81cfe (patch)
tree3660782eb23bdacd921bb11dcc825bc1b47035cf /include/xmloff/xmlprmap.hxx
parent8635fa156ba63e5f63565b6d19ea798a61643b01 (diff)
drop UniReference in favour of rtl::Reference
since they're doing the same thing. Change-Id: I76134b6b848db8628f315fe5bd9eb972a6bf0cb6
Diffstat (limited to 'include/xmloff/xmlprmap.hxx')
-rw-r--r--include/xmloff/xmlprmap.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/xmloff/xmlprmap.hxx b/include/xmloff/xmlprmap.hxx
index 5f6d52c497c6..e0d4fdbbd778 100644
--- a/include/xmloff/xmlprmap.hxx
+++ b/include/xmloff/xmlprmap.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_XMLOFF_XMLPRMAP_HXX
#define INCLUDED_XMLOFF_XMLPRMAP_HXX
+#include <rtl/ref.hxx>
#include <sal/config.h>
#include <xmloff/dllapi.h>
#include <com/sun/star/uno/Sequence.hxx>
@@ -27,7 +28,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <vector>
-#include <xmloff/uniref.hxx>
+#include <salhelper/simplereferenceobject.hxx>
#include <xmloff/maptype.hxx>
#include <xmloff/xmltypes.hxx>
#include <xmloff/prhdlfac.hxx>
@@ -64,7 +65,7 @@ struct XMLPropertySetMapperEntry_Impl
XMLPropertySetMapperEntry_Impl(
const XMLPropertyMapEntry& rMapEntry,
- const UniReference< XMLPropertyHandlerFactory >& rFactory );
+ const rtl::Reference< XMLPropertyHandlerFactory >& rFactory );
XMLPropertySetMapperEntry_Impl(
const XMLPropertySetMapperEntry_Impl& rEntry );
@@ -72,10 +73,10 @@ struct XMLPropertySetMapperEntry_Impl
sal_uInt32 GetPropType() const { return nType & XML_TYPE_PROP_MASK; }
};
-class XMLOFF_DLLPUBLIC XMLPropertySetMapper : public UniRefBase
+class XMLOFF_DLLPUBLIC XMLPropertySetMapper : public salhelper::SimpleReferenceObject
{
::std::vector< XMLPropertySetMapperEntry_Impl > aMapEntries;
- ::std::vector< UniReference < XMLPropertyHandlerFactory > > aHdlFactories;
+ ::std::vector< rtl::Reference < XMLPropertyHandlerFactory > > aHdlFactories;
bool mbOnlyExportMappings;
public:
@@ -87,11 +88,11 @@ public:
*/
XMLPropertySetMapper(
const XMLPropertyMapEntry* pEntries,
- const UniReference< XMLPropertyHandlerFactory >& rFactory,
+ const rtl::Reference< XMLPropertyHandlerFactory >& rFactory,
bool bForExport );
virtual ~XMLPropertySetMapper();
- void AddMapperEntry( const UniReference < XMLPropertySetMapper >& rMapper );
+ void AddMapperEntry( const rtl::Reference < XMLPropertySetMapper >& rMapper );
/** Return number of entries in input-array */
sal_Int32 GetEntryCount() const { return aMapEntries.size(); }