summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/osl/time.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/osl/time.h b/include/osl/time.h
index 4be9e7278419..297cc952db01 100644
--- a/include/osl/time.h
+++ b/include/osl/time.h
@@ -111,7 +111,7 @@ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_getSystemTime(
@return sal_False if any error occurs else sal_True.
*/
SAL_DLLPUBLIC sal_Bool SAL_CALL osl_getDateTimeFromTimeValue(
- TimeValue* pTimeVal, oslDateTime* pDateTime );
+ const TimeValue* pTimeVal, oslDateTime* pDateTime );
/** Get the GMT from a oslDateTime and fill a TimeValue
@@ -121,7 +121,7 @@ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_getDateTimeFromTimeValue(
@return sal_False if any error occurs else sal_True.
*/
SAL_DLLPUBLIC sal_Bool SAL_CALL osl_getTimeValueFromDateTime(
- oslDateTime* pDateTime, TimeValue* pTimeVal );
+ const oslDateTime* pDateTime, TimeValue* pTimeVal );
/** Convert GMT to local time
@@ -131,7 +131,7 @@ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_getTimeValueFromDateTime(
@return sal_False if any error occurs else sal_True.
*/
SAL_DLLPUBLIC sal_Bool SAL_CALL osl_getLocalTimeFromSystemTime(
- TimeValue* pSystemTimeVal, TimeValue* pLocalTimeVal );
+ const TimeValue* pSystemTimeVal, TimeValue* pLocalTimeVal );
/** Convert local time to GMT
@@ -141,7 +141,7 @@ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_getLocalTimeFromSystemTime(
@return sal_False if any error occurs else sal_True.
*/
SAL_DLLPUBLIC sal_Bool SAL_CALL osl_getSystemTimeFromLocalTime(
- TimeValue* pLocalTimeVal, TimeValue* pSystemTimeVal );
+ const TimeValue* pLocalTimeVal, TimeValue* pSystemTimeVal );
/** Get the value of the global timer