[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 12 16:06:49 UTC 2019
sw/source/uibase/docvw/edtwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3f42a9cf0c35d483206dfbb8ebf8786ada44bc60
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Apr 12 15:59:02 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Apr 12 18:04:38 2019 +0200
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: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 4d932c8de1ae..3bca4e2b739d 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -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
More information about the Libreoffice-commits
mailing list