https://bugs.freedesktop.org/show_bug.cgi?id=48039
--- Comment #10 from Julien Nabet <[email protected]> --- On pc Debian x86-64 with master sources updated today I reproduced this problem. Just some first research: "Error: Reference source not found" is defined by STR_GETREFFLD_REFITEMNOTFOUND in sw/source/ui/utlui/initui.src STR_GETREFFLD_REFITEMNOTFOUND is only used to declare aGetRefFld_RefItemNotFound variable here: sw/source/ui/utlui/initui.cxx This variable is only used there: void SwGetRefField::UpdateField( const SwTxtFld* pFldTxtAttr ) (sw/source/core/fields/reffld.cxx) Then reading this: 296 SwTxtNode* pTxtNd = SwGetRefFieldType::FindAnchor( 297 pDoc, sSetRefName, nSubType, nSeqNo, &nNumStart, &nNumEnd 298 ); 299 // not found? 300 if ( !pTxtNd ) 301 { 302 sTxt = ViewShell::GetShellRes()->aGetRefFld_RefItemNotFound; 303 return ; 304 } FindAnchor method is line 831 of this same file. Running gdb on all this showed me that if at the beginning nSeqNo was equal to 1, then it seems always equal to 0. Now is it normal or not? Why is it always 0?... -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
