diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:10:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:18:04 +0200 |
commit | 943a73ac8450fc0afc9792945a8f4428e903d9da (patch) | |
tree | 84d42529ad4a7367c323a971d3e34164de75abfd /stoc | |
parent | 3631ef8ceaa72525f84226cb5017dadea2c2c414 (diff) |
Improved loplugin:cstylecast to reference types: stoc
Change-Id: I73909ff3bd5258d87d2a5f7d06d96ae447b13089
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/inspect/introspection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx index 986e57fb4642..1089e1477f8e 100644 --- a/stoc/source/inspect/introspection.cxx +++ b/stoc/source/inspect/introspection.cxx @@ -476,7 +476,7 @@ void IntrospectionAccessStatic_Impl::setPropertyValueByIndex(const Any& obj, sal Reference<XIdlField2> xField2(xField, UNO_QUERY); if( xField2.is() ) { - xField2->set( (Any&)obj, aValue ); + xField2->set( const_cast<Any&>(obj), aValue ); // IllegalArgumentException // NullPointerException } else |