sw/source/core/fields/reffld.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 37d4c94d5e2dc0541ee31a0b660425d81a766f8a Author: Miklos Vajna <vmik...@suse.cz> Date: Thu Jul 19 11:34:48 2012 +0200 fix build Change-Id: I0802bd56a9fe7ea2674e6627c2239850967f3646 Sigend-off-by: Andras Timar <ati...@suse.com> diff --git a/sw/source/core/fields/reffld.cxx b/sw/source/core/fields/reffld.cxx index e762286..3a77ef6 100644 --- a/sw/source/core/fields/reffld.cxx +++ b/sw/source/core/fields/reffld.cxx @@ -309,7 +309,7 @@ void SwGetRefField::UpdateField( const SwTxtFld* pFldTxtAttr ) rtl::OUString const Text = pTxtNd->GetTxt(); unsigned const nCatStart = Text.indexOf(sSetRefName); unsigned const nCatEnd = nCatStart == unsigned(-1) ? - unsigned(-1) : nCatStart + sSetRefName.getLength(); + unsigned(-1) : nCatStart + sSetRefName.Len(); bool const bHasCat = nCatStart != unsigned(-1); // length of the referenced text _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits