summaryrefslogtreecommitdiff
path: root/svl/source/misc/fstathelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/misc/fstathelper.cxx')
-rw-r--r--svl/source/misc/fstathelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/misc/fstathelper.cxx b/svl/source/misc/fstathelper.cxx
index 1fdb989f4880..a26732313ad6 100644
--- a/svl/source/misc/fstathelper.cxx
+++ b/svl/source/misc/fstathelper.cxx
@@ -43,7 +43,7 @@ bool FStatHelper::GetModifiedDateTimeOfFile( const OUString& rURL,
if( aAny.hasValue() )
{
bRet = true;
- const util::DateTime* pDT = (util::DateTime*)aAny.getValue();
+ const util::DateTime* pDT = static_cast<util::DateTime const *>(aAny.getValue());
if( pDate )
*pDate = Date( pDT->Day, pDT->Month, pDT->Year );
if( pTime )