Kaydet (Commit) 3f42a9cf authored tarafından Caolán McNamara's avatar Caolán McNamara

rhbz#1699347 __glibcxx_requires_subscript enabled in fedora release builds

and so triggering a crash and exit on trying to get address of 0th element of a
0 len vector

Change-Id: I205478b6c2878d3758d91812db46fe8ad58e37df
Reviewed-on: https://gerrit.libreoffice.org/70672
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst b0829984
......@@ -5900,7 +5900,7 @@ void QuickHelpData::Start( SwWrtShell& rSh, sal_uInt16 nWrdLen )
const ExtTextInputAttr nVal = ExtTextInputAttr::DottedUnderline |
ExtTextInputAttr::Highlight;
const std::vector<ExtTextInputAttr> aAttrs( nL, nVal );
CommandExtTextInputData aCETID( sStr, &aAttrs[0], nL,
CommandExtTextInputData aCETID( sStr, aAttrs.data(), nL,
0, false );
//fdo#33092. If the current input language is the default
......
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