Apache OpenOffice (AOO) Bugzilla – Issue 122759
[cui] "Always save as" list shows internal filter names
Last modified: 2017-05-20 10:35:26 UTC
Tools - Options - Load/Save - General - Default file format and ODF settings - Always save as. This list box shows list of internal filter names. They should be UI names. AOO400m3(Build:9702) - Rev. 1502185 2013-07-11 08:22:42 (Thu, 11 Jul 2013) - Linux i686 In lcl_ExtracUIName function, UIName property of the filter data is extracted from sequence< PropertyValue >. Implementation of the function can overwrite return value with Name property. It depended on order of the property values in the passed sequence. Version should be AOO4 RC that is going to be 4.0.
Created attachment 81089 [details] Patch to fix this problem. If UIName is found, it should be break (commented in the current source, I do not know why commented). To check the value of UIName is string value, break if the extraction is fine. If no UIName is specified, Name value should be tracked but if the return value is still emtpy. It seems Flags property is not used, that can be removed but not contained in this patch.
"hdu" committed SVN revision 1504159 into trunk: #i122759# prefer the UIName for the list of "Always save as" filter names
Thanks for finding and solving the problem!
*** Issue 122971 has been marked as a duplicate of this issue. ***
"arielch" committed SVN revision 1532536 into trunk: i122759 - Pass the Sequence by reference
verified on AOO410m15(Build:9761) - Rev. 1585021
verified on AOO410m14(Build:9760) - Rev. 1585624