summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-08-16 18:41:07 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-17 13:14:37 +0000
commitd0fffe44c0ab8ea79cbf3f2ef383a48aa6f492f3 (patch)
treec19a24b25ac29705e44b45dca9cc3d78e48e6951 /include
parent2145d6e8b3c5bead1db97e33f60f5ae0e34add38 (diff)
No need for pointers here, use references
Change-Id: If00f4f6248f40e3a8feb0c11b3d46b85748a97bc Reviewed-on: https://gerrit.libreoffice.org/5459 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/ctredlin.hxx8
1 files changed, 3 insertions, 5 deletions
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);