1 --- svx/source/msfilter/msdffimp.cxx 1 Jul 2008 23:17:50 -0000 1.156
2 +++ svx/source/msfilter/msdffimp.cxx 1 Oct 2008 14:56:28 -0000
3 @@ -7490,6 +7490,18 @@ com::sun::star::uno::Reference < com::su
4 pFilter = aMatch.GetFilter4EA( aType );
7 +//#define DBG_EXTRACTOLESTREAMS
8 +#ifdef DBG_EXTRACTOLESTREAMS
9 + static sal_Int32 nCount(0);
10 + String aTmpName(String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("/tmp/embedded_stream_")));
11 + aTmpName += String::CreateFromInt32(nCount++);
12 + aTmpName += String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM(".bin"));
13 + SvFileStream aTmpStream(aTmpName,STREAM_READ|STREAM_WRITE|STREAM_TRUNC);
15 + *pStream >> aTmpStream;
19 if ( pName || pFilter )
21 //Reuse current ole name