From 2dbd02b576f28224204ac962f6ce20fde6687093 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 16 Nov 2018 10:41:03 +0200 Subject: loplugin:redundantfcast improvements check for calls to constructors, and extend the list of types we check for unnecessary temporary creation Change-Id: Ia2c1f202b41ed6866779fff5343c821128033eec Reviewed-on: https://gerrit.libreoffice.org/63472 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/inc/editdoc.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng/inc/editdoc.hxx') diff --git a/editeng/inc/editdoc.hxx b/editeng/inc/editdoc.hxx index 4e7efff897fa..31c15e201a5e 100644 --- a/editeng/inc/editdoc.hxx +++ b/editeng/inc/editdoc.hxx @@ -322,7 +322,7 @@ public: sal_Int32 GetIndex() const { return nIndex; } void SetIndex( sal_Int32 n ) { nIndex = n; } - bool DbgIsBuggy( EditDoc const & rDoc ); + bool DbgIsBuggy( EditDoc const & rDoc ) const; friend bool operator == ( const EditPaM& r1, const EditPaM& r2 ); friend bool operator != ( const EditPaM& r1, const EditPaM& r2 ); @@ -697,7 +697,7 @@ public: bool HasRange() const { return aStartPaM != aEndPaM; } bool IsInvalid() const { return !aStartPaM || !aEndPaM; } - bool DbgIsBuggy( EditDoc const & rDoc ); + bool DbgIsBuggy( EditDoc const & rDoc ) const; void Adjust( const EditDoc& rNodes ); -- cgit