Kaydet (Commit) 41b9d58f authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

coverity#982817 Out-of-bounds access

Not sure if it just is coverity's parser that get confused or if the
compiler can also be confused in that case.. but it does not
hurt to be explicit, just in case.

Change-Id: Iba9df7122584272645e7fb241c3f5fd2ed4481d1
Reviewed-on: https://gerrit.libreoffice.org/2250Reviewed-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
Tested-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
üst 8abb2f4d
...@@ -907,7 +907,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, ...@@ -907,7 +907,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
rtl_getGlobalProcessId( (sal_uInt8*)processID ); rtl_getGlobalProcessId( (sal_uInt8*)processID );
::com::sun::star::uno::Sequence<sal_Int8> processIdSeq(processID, 16); ::com::sun::star::uno::Sequence<sal_Int8> processIdSeq((sal_Int8*)processID, 16);
::com::sun::star::uno::Any anyHandle = xSystemDepParent->getWindowHandle(processIdSeq, SYSTEM_DEPENDENT_TYPE); ::com::sun::star::uno::Any anyHandle = xSystemDepParent->getWindowHandle(processIdSeq, SYSTEM_DEPENDENT_TYPE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment