From d0fffe44c0ab8ea79cbf3f2ef383a48aa6f492f3 Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Fri, 16 Aug 2013 18:41:07 +0200 Subject: No need for pointers here, use references Change-Id: If00f4f6248f40e3a8feb0c11b3d46b85748a97bc Reviewed-on: https://gerrit.libreoffice.org/5459 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- include/svx/ctredlin.hxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include/svx/ctredlin.hxx') diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 6b3685dc7c90..320881cf30a4 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -132,11 +132,9 @@ public: void SetCalcView(sal_Bool bFlag=sal_True); - // no NULL-pointer checking { - bool IsValidEntry(const String* pAuthor,const DateTime *pDateTime,const String* pComment); - bool IsValidEntry(const String* pAuthor,const DateTime *pDateTime); - bool IsValidComment(const String* pComment); - // } + bool IsValidEntry(const String &rAuthor, const DateTime &rDateTime, const String &rComment); + bool IsValidEntry(const String &rAuthor, const DateTime &rDateTime); + bool IsValidComment(const String &rComment); SvTreeListEntry* InsertEntry(const OUString& ,RedlinData *pUserData, SvTreeListEntry* pParent=NULL,sal_uIntPtr nPos=LIST_APPEND); -- cgit