diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-07-05 12:13:36 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-07-05 12:22:03 +0200 |
commit | fa6ce5a6e8c35430977857477fc09f6a03698e63 (patch) | |
tree | 4952b8f9dd66294c596f84769cec2c6e0a51520b /sdext | |
parent | 8db392f1be4d6dac0da0fb35b5735e7c27c346cc (diff) |
API change: osl/time.h take const pointers where appropriate
Should be backwards-compatible...
Change-Id: I6b04bec2c032ff8c57a1b5192b2d3962dcc96c84
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<oslDateTime*>(&rCurrentTime), &aCurrentTimeValue)) + if (osl_getTimeValueFromDateTime(&rCurrentTime, &aCurrentTimeValue)) { if (maStartTimeValue.Seconds==0 && maStartTimeValue.Nanosec==0) { |