summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-03 21:15:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-05 21:18:14 +0200
commit3fdfbe68bad1bd99b6adaf756caa12941c15b9e5 (patch)
tree522757e7d6cc5ed2a09670c1fb1703492de580e0 /basic
parent33451555e4fd8479c6ce64aad91ea93f3e03e633 (diff)
Improved loplugin:cstylecast to reference types: basic
Change-Id: Ib2159aef39d416905899fe91280d2234835e23e9
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxarray.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxarray.cxx b/basic/source/sbx/sbxarray.cxx
index 5fc4775fd00a..06d4ebb8ab89 100644
--- a/basic/source/sbx/sbxarray.cxx
+++ b/basic/source/sbx/sbxarray.cxx
@@ -530,7 +530,7 @@ SbxDimArray& SbxDimArray::operator=( const SbxDimArray& rArray )
{
if( &rArray != this )
{
- SbxArray::operator=( (const SbxArray&) rArray );
+ SbxArray::operator=( static_cast<const SbxArray&>(rArray) );
m_vDimensions = rArray.m_vDimensions;
this->mbHasFixedSize = rArray.mbHasFixedSize;
}