diff options
Diffstat (limited to 'include/drawinglayer/primitive2d/graphicprimitive2d.hxx')
-rw-r--r-- | include/drawinglayer/primitive2d/graphicprimitive2d.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/drawinglayer/primitive2d/graphicprimitive2d.hxx b/include/drawinglayer/primitive2d/graphicprimitive2d.hxx index 27fa8ffea63d..83de0137e72e 100644 --- a/include/drawinglayer/primitive2d/graphicprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/graphicprimitive2d.hxx @@ -54,7 +54,7 @@ namespace drawinglayer basegfx::B2DHomMatrix maTransform; /// the GraphicObject with all it's content possibilities - GraphicObject maGraphicObject; + rtl::Reference< GraphicObject > mxGraphicObject; /// The GraphicAttr with all it's modification possibilities GraphicAttr maGraphicAttr; @@ -67,15 +67,15 @@ namespace drawinglayer /// constructor(s) GraphicPrimitive2D( const basegfx::B2DHomMatrix& rTransform, - const GraphicObject& rGraphicObject, + const rtl::Reference< GraphicObject >& xGraphicObject, const GraphicAttr& rGraphicAttr); GraphicPrimitive2D( const basegfx::B2DHomMatrix& rTransform, - const GraphicObject& rGraphicObject); + const rtl::Reference< GraphicObject >& xGraphicObject); /// data read access const basegfx::B2DHomMatrix& getTransform() const { return maTransform; } - const GraphicObject& getGraphicObject() const { return maGraphicObject; } + rtl::Reference< GraphicObject > getGraphicObject() const { return mxGraphicObject; } const GraphicAttr& getGraphicAttr() const { return maGraphicAttr; } bool isTransparent() const; |