incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 121053] Office FilePicker doesn't allow socket selection
Date Wed, 19 Sep 2012 20:09:21 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=121053

--- Comment #2 from Ariel Constenla-Haile <arielch@apache.org> ---
The reason for this bug is that, for Office FilePicker, the socket doesn't
exist, see 

bExists = pThis->m_aContent.is( aFileObj.GetMainURL( INetURLObject::NO_DECODE )
);

in
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/fpicker/source/office/iodlg.cxx?revision=1198248&view=markup#l1289

The SmartContent (fpicker/source/office/fpsmartcontent.hxx|cxx) is not *that*
smart: a file "is" only if it is a "document" or a "folder".

But it's not its fault; here the one to blame is the File Content Provider: it
doesn't take into account sockets (while the underlying code in osl does).
(ucb/source/ucp/file/ specially shell.hxx|cxx)

This propagates to the SimpleFileAccess API: a socket doesn't exist according
to XSimpleFileAccess::exists().

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message