summaryrefslogtreecommitdiff
path: root/vcl/source/control/field2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 09:02:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 09:57:26 +0200
commit72f36adb93d24a3da8868dad128ab2eca0124fda (patch)
tree06baca9f873aa59e16c5f3612f5a464c2e0eba46 /vcl/source/control/field2.cxx
parentbff8cd3d52223002263dcb8c09758c4fc753b6e3 (diff)
loplugin:constparams in vcl
Change-Id: I36afe2107e07ffb9b73c0b76be600e3e999a0fd4 Reviewed-on: https://gerrit.libreoffice.org/40116 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/field2.cxx')
-rw-r--r--vcl/source/control/field2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index ac9bb2b16305..ac2dbc913896 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -1565,7 +1565,7 @@ void DateFormatter::SetDate( const Date& rNewDate )
maLastDate = GetDate();
}
-void DateFormatter::ImplSetUserDate( const Date& rNewDate, Selection* pNewSelection )
+void DateFormatter::ImplSetUserDate( const Date& rNewDate, Selection const * pNewSelection )
{
Date aNewDate = rNewDate;
if ( aNewDate > maMax )
@@ -2386,7 +2386,7 @@ void TimeFormatter::ImplNewFieldValue( const tools::Time& rTime )
}
}
-void TimeFormatter::ImplSetUserTime( const tools::Time& rNewTime, Selection* pNewSelection )
+void TimeFormatter::ImplSetUserTime( const tools::Time& rNewTime, Selection const * pNewSelection )
{
tools::Time aNewTime = rNewTime;
if ( aNewTime > GetMax() )