summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods1.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:07:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:07:14 +0100
commit3a40d3de89f0b1252974c98e5a5382d6eca67025 (patch)
tree29f476f89e222b4e8a7ca72a2c8ded3631deeb7d /basic/source/runtime/methods1.cxx
parent0cad6d02070ebab995611e8c8125e11e3f7c4836 (diff)
More loplugin:cstylecast: basic
Change-Id: I0bb219632da384ab047a2b1fc3f2b041dacaf2cb
Diffstat (limited to 'basic/source/runtime/methods1.cxx')
-rw-r--r--basic/source/runtime/methods1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index aa7d009be0a8..68dfb503f572 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -1004,7 +1004,7 @@ static bool lcl_ReadSbxVariable( SbxVariable& rVar, SvStream* pStrm,
{
sal_uInt16 nTemp;
pStrm->ReadUInt16( nTemp );
- eSrcType = (SbxDataType)nTemp;
+ eSrcType = static_cast<SbxDataType>(nTemp);
}
switch( eSrcType )