files opened via "private:stream" should not be added to the recent document files list, cause it's not possible to load it again: steps to reproduce: - run macro: Sub CSVFromStream aBytes = Array(72,9,69,9,76,9,76,9,79) oIStream = com.sun.star.io.SequenceInputStream.createStreamFromSequence(aBytes) Dim oMediaDesc(2) as new com.sun.star.beans.PropertyValue oMediaDesc(0).Name = "InputStream" oMediaDesc(0).Value = oIStream oMediaDesc(1).Name = "FilterName" oMediaDesc(1).Value = "Text - txt - csv (StarCalc)" oMediaDesc(2).Name = "FilterOptions" oMediaDesc(2).Value = "9,0,0,1" Dim doc doc = StarDesktop.loadComponentFromURL("private:stream","_blank",0,oMediaDesc) End Sub - close file without saving - an entry "private:stream" is added to recent document list <item oor:path="/org.openoffice.Office.Histories/Histories/org.openoffice.Office.Histories:HistoryInfo['PickList']/ItemList"> <node oor:name="private:stream" oor:op="replace"> <prop oor:name="Title" oor:op="fuse"> <value>private:stream</value> </prop> <prop oor:name="Filter" oor:op="fuse"> <value>Text - txt - csv (StarCalc)</value> </prop> <prop oor:name="Password" oor:op="fuse"> <value/> </prop> <prop oor:name="Thumbnail" oor:op="fuse"> <value></value> </prop> </node> </item>
it' possible to avoid adding an entry to the recent document list adding property oMediaDesc(3).Name = "PickListEntry" oMediaDesc(3).value = false *** This bug has been marked as a duplicate of bug 95095 ***