From 6fa55d39bc43383fcdb3276e9b7f612fa96d1b67 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Mon, 26 Feb 2018 09:21:12 +0900 Subject: bool cast operator for Graphic object MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iec236538271b33eb9e6dcfd98903657c1198476e Reviewed-on: https://gerrit.libreoffice.org/50332 Reviewed-by: Tomaž Vajngerl Tested-by: Tomaž Vajngerl --- include/vcl/graph.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/vcl/graph.hxx') 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; -- cgit