summaryrefslogtreecommitdiff
path: root/oox/source/ole
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-24 14:09:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-24 15:48:51 +0000
commit3a74745367a73ed9351379fc32bbe9253cdae697 (patch)
tree0fec3ca84576a0f51e4f48cdda82b67e7282c3ab /oox/source/ole
parentc9126dfbabcde1bf8b157942a5f5134ad547b957 (diff)
vector::data seems more natural than &vector::front
Change-Id: I0ce48075ad186cf1f9bd3e13fa76269fa9819af1
Diffstat (limited to 'oox/source/ole')
-rw-r--r--oox/source/ole/vbainputstream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ole/vbainputstream.cxx b/oox/source/ole/vbainputstream.cxx
index e3c545231e73..0e9262ceab04 100644
--- a/oox/source/ole/vbainputstream.cxx
+++ b/oox/source/ole/vbainputstream.cxx
@@ -194,7 +194,7 @@ bool VbaInputStream::updateChunk()
else
{
maChunk.resize( nChunkLen );
- mpInStrm->readMemory( &maChunk.front(), nChunkLen );
+ mpInStrm->readMemory(maChunk.data(), nChunkLen);
}
// decompression sometimes leaves the stream pos offset 1 place ( at
// least ) past or before the expected stream pos.