From fa6ce5a6e8c35430977857477fc09f6a03698e63 Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Fri, 5 Jul 2013 12:13:36 +0200 Subject: API change: osl/time.h take const pointers where appropriate Should be backwards-compatible... Change-Id: I6b04bec2c032ff8c57a1b5192b2d3962dcc96c84 --- sdext/source/presenter/PresenterToolBar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdext') diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index ce5c61f41ac6..e5d7efe98c37 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -1928,7 +1928,7 @@ PresentationTimeLabel::PresentationTimeLabel ( void PresentationTimeLabel::TimeHasChanged (const oslDateTime& rCurrentTime) { TimeValue aCurrentTimeValue; - if (osl_getTimeValueFromDateTime(const_cast(&rCurrentTime), &aCurrentTimeValue)) + if (osl_getTimeValueFromDateTime(&rCurrentTime, &aCurrentTimeValue)) { if (maStartTimeValue.Seconds==0 && maStartTimeValue.Nanosec==0) { -- cgit