sw/source/ui/docvw/edtwin2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b5683734bd60e6a2e48f1c6d7406062d8f63dd7c Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Wed Oct 2 13:46:00 2013 +0200 SwEditWin::RequestHelp: out of bounds substring access Fix conversion from bcc8e86a1e2e4d7067c0d8320b4bdec9f1d2a2da Change-Id: Ie169752a9ed6b4fa32e886352c80af60a07976dc diff --git a/sw/source/ui/docvw/edtwin2.cxx b/sw/source/ui/docvw/edtwin2.cxx index 0ba2eb7..6ff0131 100644 --- a/sw/source/ui/docvw/edtwin2.cxx +++ b/sw/source/ui/docvw/edtwin2.cxx @@ -181,7 +181,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) // #i104300# // special handling if target is a cross-reference bookmark { - String sTmpSearchStr = sTxt.copy( 1, sTxt.getLength() ); + String sTmpSearchStr = sTxt.copy( 1 ); IDocumentMarkAccess* const pMarkAccess = rSh.getIDocumentMarkAccess(); IDocumentMarkAccess::const_iterator_t ppBkmk = _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits