From f3d9aab8410c00298f29ca0194c5d33d53c63ff2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 5 May 2016 09:46:12 +0200 Subject: teach passstuffbyref plugin to check for.. unnecessarily passing primitives by const ref. Suggested by Tor Lillqvist Change-Id: I445e220542969ca3e252581e5953fb01cb2b2be6 Reviewed-on: https://gerrit.libreoffice.org/24672 Reviewed-by: Tor Lillqvist Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/tools/datetime.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tools/datetime.hxx') diff --git a/include/tools/datetime.hxx b/include/tools/datetime.hxx index 228ac4ea9a8e..66826dff58e1 100644 --- a/include/tools/datetime.hxx +++ b/include/tools/datetime.hxx @@ -105,7 +105,7 @@ public: DateTime& operator =( const DateTime& rDateTime ); void GetWin32FileDateTime( sal_uInt32 & rLower, sal_uInt32 & rUpper ); - static DateTime CreateFromWin32FileDateTime( const sal_uInt32 & rLower, const sal_uInt32 & rUpper ); + static DateTime CreateFromWin32FileDateTime( sal_uInt32 rLower, sal_uInt32 rUpper ); }; inline DateTime& DateTime::operator =( const DateTime& rDateTime ) -- cgit