https://issues.apache.org/ooo/show_bug.cgi?id=121982
hanya <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from hanya <[email protected]> --- In LoadEnv::impl_detectTypeAndFilter method, type detection is started by calling the following method: XTypeDetection xDetect->queryTypeByDescriptor(lDescriptor, sal_True) The second parameter specifies to detect deeply, so always deep detection is chosen. First, the filter name passed is used to get internal file type. But the mode is always deep detection, so the additional detection is proceeded. Type detection component for svg file is com.sun.star.comp.draw.FormatDetector. In SdFilterDetect::detect method, if URL (private:stream in this case) is not starting with "private:factory/", SfxMedium is initialized with the passed URL. And the passed input stream is not used. So the problem is the stream is ignored in this case. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
