summaryrefslogtreecommitdiff
path: root/include/xmloff/shapeexport.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/shapeexport.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/shapeexport.hxx')
-rw-r--r--include/xmloff/shapeexport.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/xmloff/shapeexport.hxx b/include/xmloff/shapeexport.hxx
index 9a3ec8ecb6ad..134b15f52f84 100644
--- a/include/xmloff/shapeexport.hxx
+++ b/include/xmloff/shapeexport.hxx
@@ -26,7 +26,7 @@
#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
-#include <xmloff/uniref.hxx>
+#include <salhelper/simplereferenceobject.hxx>
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/drawing/XShapes.hpp>
@@ -154,14 +154,14 @@ namespace basegfx
class B2DHomMatrix;
} // end of namespace basegfx
-class XMLOFF_DLLPUBLIC XMLShapeExport : public UniRefBase
+class XMLOFF_DLLPUBLIC XMLShapeExport : public salhelper::SimpleReferenceObject
{
private:
SvXMLExport& mrExport;
- UniReference< XMLPropertyHandlerFactory > mxSdPropHdlFactory;
- UniReference< SvXMLExportPropertyMapper > mxPropertySetMapper;
- UniReference< XMLAnimationsExporter > mxAnimationsExporter;
+ rtl::Reference< XMLPropertyHandlerFactory > mxSdPropHdlFactory;
+ rtl::Reference< SvXMLExportPropertyMapper > mxPropertySetMapper;
+ rtl::Reference< XMLAnimationsExporter > mxAnimationsExporter;
ShapesInfos maShapesInfos;
ShapesInfos::iterator maCurrentShapesIter;
bool mbExportLayer;
@@ -179,7 +179,7 @@ protected:
const SvXMLExport& GetExport() const { return mrExport; }
private:
- SAL_DLLPRIVATE UniReference< SvXMLExportPropertyMapper > GetPropertySetMapper() const { return mxPropertySetMapper; }
+ SAL_DLLPRIVATE rtl::Reference< SvXMLExportPropertyMapper > GetPropertySetMapper() const { return mxPropertySetMapper; }
const OUString msZIndex;
const OUString msPrintable;
@@ -287,10 +287,10 @@ public:
If this is a non NULL reference, the animation information from all shapes given to exportShape()
from now on are collected.
*/
- void setAnimationsExporter( UniReference< XMLAnimationsExporter > xAnimExport ) { mxAnimationsExporter = xAnimExport; }
+ void setAnimationsExporter( rtl::Reference< XMLAnimationsExporter > xAnimExport ) { mxAnimationsExporter = xAnimExport; }
/** returns the last set XMLAnimationExport */
- UniReference< XMLAnimationsExporter > getAnimationsExporter() const { return mxAnimationsExporter; }
+ rtl::Reference< XMLAnimationsExporter > getAnimationsExporter() const { return mxAnimationsExporter; }
/// returns the export property mapper for external chaining
static SvXMLExportPropertyMapper* CreateShapePropMapper( SvXMLExport& rExport );