diff options
Diffstat (limited to 'embeddedobj/source/msole/olevisual.cxx')
-rw-r--r-- | embeddedobj/source/msole/olevisual.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embeddedobj/source/msole/olevisual.cxx b/embeddedobj/source/msole/olevisual.cxx index 820e39c2f7f0..8e1d7bc8d6e7 100644 --- a/embeddedobj/source/msole/olevisual.cxx +++ b/embeddedobj/source/msole/olevisual.cxx @@ -69,7 +69,7 @@ embed::VisualRepresentation OleEmbeddedObject::GetVisualRepresentationInNativeFo cppu::UnoType<uno::Sequence< sal_Int8 >>::get() ); } - sal_Int32 nStreamLength = (sal_Int32)xSeekable->getLength(); + sal_Int32 nStreamLength = static_cast<sal_Int32>(xSeekable->getLength()); uno::Sequence< sal_Int8 > aRepresent( nStreamLength ); xInStream->readBytes( aRepresent, nStreamLength ); aVisualRepr.Data <<= aRepresent; |