summaryrefslogtreecommitdiff
path: root/include/vcl/graph.hxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2016-03-12 14:13:35 -0600
committerCaolán McNamara <caolanm@redhat.com>2016-03-12 21:19:58 +0000
commit02de3a5206c7633d62ebc43edad37747e2c7a1de (patch)
tree4f856978cb5773607023453f839c5085050ac91d /include/vcl/graph.hxx
parentbc573d62203d6001fac95d93107cd181882b5cf2 (diff)
vcl graph: stop abusing a pointer for a bool
Change-Id: I816fe3a52c03fa5a3fd372492985783f9f6ff91c Reviewed-on: https://gerrit.libreoffice.org/23181 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/graph.hxx')
-rw-r--r--include/vcl/graph.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 7514f8767016..0c10149c30a8 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -198,7 +198,8 @@ public:
GraphicReader* GetContext();
void SetContext( GraphicReader* pReader );
-
+ void SetDummyContext(bool value);
+ bool IsDummyContext();
private:
friend class GraphicObject;