diff options
Diffstat (limited to 'codemaker/source/javamaker/classfile.cxx')
-rw-r--r-- | codemaker/source/javamaker/classfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/javamaker/classfile.cxx b/codemaker/source/javamaker/classfile.cxx index 23bc000248bb..bf5a02cd6ef4 100644 --- a/codemaker/source/javamaker/classfile.cxx +++ b/codemaker/source/javamaker/classfile.cxx @@ -102,7 +102,7 @@ void writeStream(FileStream & file, std::vector< unsigned char > const & stream) // approximation of std::numeric_limits<T1>::max() <= // std::numeric_limits<T2>::max() if (n != 0) { - write(file, &stream[0], static_cast< sal_uInt64 >(n)); + write(file, stream.data(), static_cast< sal_uInt64 >(n)); } } |