summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-07-05 12:13:36 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-07-08 08:56:00 +0000
commit5456cddf0ae6ca16c107834216371898764147f8 (patch)
tree02e16b8f9c7767e7f50956d98ce0bdbf4187cb74 /sdext
parent4d268e8302d13b81494305eab68e60ab6d0ef264 (diff)
API change: osl/time.h take const pointers where appropriate
Should be backwards-compatible... Change-Id: I6b04bec2c032ff8c57a1b5192b2d3962dcc96c84 Reviewed-on: https://gerrit.libreoffice.org/4736 Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterToolBar.cxx2
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)
{