summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/vcl/graph.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 697565dbd1e6..b6d719b1e3de 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -192,10 +192,10 @@ public:
public:
- GraphicReader* GetContext();
- void SetContext( GraphicReader* pReader );
- void SetDummyContext(bool value);
- bool IsDummyContext();
+ std::shared_ptr<GraphicReader>& GetContext();
+ void SetContext( const std::shared_ptr<GraphicReader> &pReader );
+ void SetDummyContext(bool value);
+ bool IsDummyContext();
private:
friend class GraphicObject;