summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-02-26 09:21:12 +0900
committerJan Holesovsky <kendy@collabora.com>2018-06-01 08:59:07 +0200
commit0836d1d0052708e51c6bc6ab52c7af9de2cc8c3d (patch)
tree261cd05665282153b918778db60d284918c9204f /include
parenta106bcc2b3930a79d0105a38baf1ca03d9332afd (diff)
bool cast operator for Graphic object
Change-Id: Iec236538271b33eb9e6dcfd98903657c1198476e Reviewed-on: https://gerrit.libreoffice.org/50332 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 6fa55d39bc43383fcdb3276e9b7f612fa96d1b67)
Diffstat (limited to 'include')
-rw-r--r--include/vcl/graph.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 639cd6e7b03a..3690b6165a9f 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -129,6 +129,8 @@ public:
bool operator!=( const Graphic& rGraphic ) const;
bool operator!() const;
+ operator bool() const;
+
void Clear();
GraphicType GetType() const;