From b15f79a8f8de27c9d186ae1fbd0c86f194aed0ac Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 30 Nov 2017 07:17:53 +0100 Subject: loplugin:unnecessaryparen: signed numeric literals Change-Id: I75c8224452ca9c3711a2ccaca9ecf549fa59cb64 Reviewed-on: https://gerrit.libreoffice.org/45549 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- editeng/inc/editdoc.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng/inc/editdoc.hxx') diff --git a/editeng/inc/editdoc.hxx b/editeng/inc/editdoc.hxx index a46330c9badf..59ebecc11a32 100644 --- a/editeng/inc/editdoc.hxx +++ b/editeng/inc/editdoc.hxx @@ -430,7 +430,7 @@ public: sal_Unicode GetExtraValue() const { return nExtraValue; } void SetExtraValue( sal_Unicode n ) { nExtraValue = n; } - bool HasValidSize() const { return aOutSz.Width() != (-1); } + bool HasValidSize() const { return aOutSz.Width() != -1; } ExtraPortionInfo* GetExtraInfos() const { return xExtraInfos.get(); } void SetExtraInfos( ExtraPortionInfo* p ) { xExtraInfos.reset(p); } -- cgit