sw/source/uibase/docvw/edtwin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3f42a9cf0c35d483206dfbb8ebf8786ada44bc60 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Apr 12 15:59:02 2019 +0100 Commit: Caolán McNamara <caol...@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 <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits