Apache OpenOffice (AOO) Bugzilla – Issue 5455
Reference to table-label disappears after reopening -> german version
Last modified: 2003-01-23 10:06:35 UTC
Referencefile: see link! Created 1 "Modell" + 1 "Tabelle" with referencetext (field) on sidebar. After reopening file: Reference to Modell is still there, but reference to "Tabelle" disappears immediately. Field is still there: Klick on it: Now type is not "Tabelle" any more but "Table" (you coldn't choose before).
dvo->sba: I can reproduce this on a SO 6.0, too. Since we loose data, I think this should really be fixed. I can't determine yet what the problem is, but assigning to me seems like a good idea. :-)
Created attachment 1827 [details] simple test file
Created attachment 1828 [details] test file as .sdw
Reassigned to Éric.
ES->DVO: See iBIS 99890. I also think that this issue should be fixed asap. FYI. Only occures on non English OOo.
The problem is in the translation between programmatic and UI names for get-reference fields. The code (reffld.cxx#688) looks like this: OUString sTmp; rAny >>= sTmp; ConvertProgrammaticToUIName(); SetPar1(sTmp); Note that the call to ConvertProgrammaticToUIName(), but rather operates on the state of the object. But this state is modified only in the SetPar1(..) call! Switching those two lines solves the problem. So this works: OUString sTmp; rAny >>= sTmp; SetPar1(sTmp); ConvertProgrammaticToUIName(); I suppose this was broken either when the conversion was introduced, or later when it was changed to use STL structures. I wonder if more than only this bug was introduced... dvo->tl: Please have a look at this and check this in if you agree. dvo->happymicha: You can apply the above change and recompile yourself if you need this urgently.
(empty comment) ^^
ES->to all: this issue can be closed. Works in a 643g
SO, FIXED.
closed