diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:03:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:03:52 +0100 |
commit | 59d5d63498a781c8681ee8c3199f95253145b8b7 (patch) | |
tree | ca414e13bf2767cb1d1d3bbaa9e8035a4494f4fb /include | |
parent | 83922317915f06561e621caddc91512829609ec1 (diff) |
More loplugin:cstylecast: sal
Change-Id: I1ca982dc8c35c7a2762572d7bb47066ead8e6c89
Diffstat (limited to 'include')
-rw-r--r-- | include/osl/conditn.hxx | 2 | ||||
-rw-r--r-- | include/osl/file.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osl/conditn.hxx b/include/osl/conditn.hxx index 2bfe5466ba34..7bb09d5739d6 100644 --- a/include/osl/conditn.hxx +++ b/include/osl/conditn.hxx @@ -116,7 +116,7 @@ namespace osl */ Result wait(const TimeValue *pTimeout = NULL) { - return (Result) osl_waitCondition(condition, pTimeout); + return static_cast<Result>(osl_waitCondition(condition, pTimeout)); } #if defined LIBO_INTERNAL_ONLY diff --git a/include/osl/file.hxx b/include/osl/file.hxx index 3c2848eaa590..73065a4ebcec 100644 --- a/include/osl/file.hxx +++ b/include/osl/file.hxx @@ -1755,7 +1755,7 @@ public: osl_releaseDirectoryItem( rItem._pData ); rItem._pData = NULL; } - return ( RC) osl_getNextDirectoryItem( _pData, &rItem._pData, nHint ); + return static_cast<RC>(osl_getNextDirectoryItem( _pData, &rItem._pData, nHint )); } |