diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-02-26 09:21:12 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-02-26 06:04:31 +0100 |
commit | 6fa55d39bc43383fcdb3276e9b7f612fa96d1b67 (patch) | |
tree | c6998ad39886e1fd21e02191a30ea3888d285f78 /include | |
parent | d4497411ea6db421a90cc950efe6e1bec4aebc0a (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>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/graph.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx index 2ec7a7e14706..4915fa0e347a 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; |