[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sw/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Thu Jul 19 02:36:25 PDT 2012


 sw/source/core/fields/reffld.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 37d4c94d5e2dc0541ee31a0b660425d81a766f8a
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Thu Jul 19 11:34:48 2012 +0200

    fix build
    
    Change-Id: I0802bd56a9fe7ea2674e6627c2239850967f3646
    Sigend-off-by: Andras Timar <atimar at 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


More information about the Libreoffice-commits mailing list