summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/diagram/diagram.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/diagram/diagram.hxx')
-rw-r--r--oox/source/drawingml/diagram/diagram.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/diagram/diagram.hxx b/oox/source/drawingml/diagram/diagram.hxx
index 1bd6dd9f7df9..6aad2705f264 100644
--- a/oox/source/drawingml/diagram/diagram.hxx
+++ b/oox/source/drawingml/diagram/diagram.hxx
@@ -149,7 +149,7 @@ public:
void addTo( const ShapePtr & pShape );
css::uno::Sequence<css::beans::PropertyValue> getDomsAsPropertyValues() const;
- ShapePtr getShape() const { return mpShape; }
+ const ShapePtr & getShape() const { return mpShape; }
private:
ShapePtr mpShape;