summaryrefslogtreecommitdiffstats
path: root/framework/source/recording/dispatchrecorder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/recording/dispatchrecorder.cxx')
-rw-r--r--framework/source/recording/dispatchrecorder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/recording/dispatchrecorder.cxx b/framework/source/recording/dispatchrecorder.cxx
index 7f67daae3315..31fac8710c45 100644
--- a/framework/source/recording/dispatchrecorder.cxx
+++ b/framework/source/recording/dispatchrecorder.cxx
@@ -89,7 +89,7 @@ static Sequence< Any > make_seq_out_of_struct(
vec.reserve( reinterpret_cast<typelib_CompoundTypeDescription *>(pTD)->nMembers ); // good guess
flatten_struct_members( &vec, val.getValue(), reinterpret_cast<typelib_CompoundTypeDescription *>(pTD) );
TYPELIB_DANGER_RELEASE( pTD );
- return Sequence< Any >( &vec[ 0 ], vec.size() );
+ return Sequence< Any >( vec.data(), vec.size() );
}
DispatchRecorder::DispatchRecorder( const css::uno::Reference< css::uno::XComponentContext >& xContext )