From 7334034ae93b49fc93b5859a3c047a319d138282 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 29 Apr 2019 15:50:02 +0200 Subject: drop Graphic::operator bool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit which tends to interact in very weird ways with other code, for example it makes Graphic appear to have an operator< Change-Id: I335fe8f3644b710bc61291e625cbca7334a37716 Reviewed-on: https://gerrit.libreoffice.org/71532 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- include/vcl/graph.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/vcl') diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx index f44858c88085..e8af0d2c06ce 100644 --- a/include/vcl/graph.hxx +++ b/include/vcl/graph.hxx @@ -128,9 +128,8 @@ public: Graphic& operator=( Graphic&& rGraphic ); bool operator==( const Graphic& rGraphic ) const; bool operator!=( const Graphic& rGraphic ) const; - bool operator!() const; - operator bool() const; + bool IsNone() const; void Clear(); -- cgit