From 89e836f6c1d1509c0d6a67805b236717e90d6c0e Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Thu, 22 Feb 2007 16:16:07 +0000 Subject: unbreak build --- writerfilter/prj/build.lst | 7 ++++--- writerfilter/source/filter/ImportFilter.cxx | 6 +++--- writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx | 6 +++--- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/writerfilter/prj/build.lst b/writerfilter/prj/build.lst index 343e75402c1f..05b7d115d24b 100644 --- a/writerfilter/prj/build.lst +++ b/writerfilter/prj/build.lst @@ -8,12 +8,13 @@ wf writerfilter\unocomponent\debugservices\xxml nmake - all wf_debugservicesxxml wf writerfilter\unocomponent\debugservices\odsl nmake - all wf_debugservicesodl NULL wf writerfilter\unocomponent\debugservices\rtfsl nmake - all wf_debugservicesrtfsl NULL wf writerfilter\unocomponent\debugservices\doctok nmake - all wf_debugservicesdoctok NULL -wf writerfilter\unocomponent nmake - all wf_unocomponent wf_rtftok wf_doctok wf_debugservicesrtftok wf_debugservicesxxml wf_debugservicesodl wf_debugservicesrtfsl wf_debugservicesdoctok wf_odiapi NULL +wf writerfilter\unocomponent\debugservices\ooxml nmake - all wf_debugservicesooxml NULL +wf writerfilter\unocomponent nmake - all wf_unocomponent wf_rtftok wf_doctok wf_debugservicesrtftok wf_debugservicesxxml wf_debugservicesodl wf_debugservicesrtfsl wf_debugservicesdoctok wf_debugservicesooxml wf_odiapi NULL wf writerfilter\source\odiapi\core nmake - all wf_odiapicore NULL wf writerfilter\source\odiapi\qname nmake - all wf_qname NULL wf writerfilter\source\odiapi\props nmake - all wf_odiapiprops wf_qname NULL wf writerfilter\source\odiapi\xxml nmake - all wf_odiapixxml wf_odiapiprops wf_qname NULL wf writerfilter\source\odiapi\sl nmake - all wf_odiapisl wf_odiapixxml wf_odiapiprops wf_qname NULL -wf writerfilter\source\filter nmake - all wf_filter wf_doctok NULL -wf writerfilter\source\dmapper nmake - all wf_dmapper wf_doctok NULL +wf writerfilter\source\filter nmake - all wf_filter wf_doctok wf_ooxml NULL +wf writerfilter\source\dmapper nmake - all wf_dmapper wf_doctok wf_ooxml NULL wf writerfilter\util nmake - all wf_odiapi wf_odiapisl wf_odiapixxml wf_odiapiprops wf_qname wf_odiapicore wf_filter wf_dmapper NULL diff --git a/writerfilter/source/filter/ImportFilter.cxx b/writerfilter/source/filter/ImportFilter.cxx index eb113c1754d4..f8930df678b8 100644 --- a/writerfilter/source/filter/ImportFilter.cxx +++ b/writerfilter/source/filter/ImportFilter.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ImportFilter.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: os $ $Date: 2007-02-22 13:42:56 $ + * last change: $Author: fridrich_strba $ $Date: 2007-02-22 17:16:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -85,7 +85,7 @@ sal_Bool WriterFilter::filter( const uno::Sequence< beans::PropertyValue >& aDes if( m_sFilterName.equalsAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "writer_MS_Word_2007" ) )) { ooxml::OOXMLStream::Pointer_t pDocStream = ooxml::OOXMLDocumentFactory::createStream(m_xContext, xInputStream); - ooxml::OOXMLDocument::Pointer_t pDocument = ooxml::OOXMLDocumentFactory::createDocument(pDocStream); + ooxml::OOXMLDocument::Pointer_t pDocument(ooxml::OOXMLDocumentFactory::createDocument(pDocStream)); pDocument->resolve(*pStream); } else diff --git a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx index 715c28efbdf0..f01cbe2d98f5 100644 --- a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx +++ b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx @@ -4,9 +4,9 @@ * * $RCSfile: OOXMLTestService.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hbrinkm $ $Date: 2007-02-21 13:38:10 $ + * last change: $Author: fridrich_strba $ $Date: 2007-02-22 17:16:07 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -129,7 +129,7 @@ sal_Int32 SAL_CALL ScannerTestService::run( const uno::Sequence< rtl::OUString > uno::Reference xInputStream = xFileAccess->openFileRead(absFileUrl); ooxml::OOXMLStream::Pointer_t pDocStream = ooxml::OOXMLDocumentFactory::createStream(xContext, xInputStream); - ooxml::OOXMLDocument::Pointer_t pDocument = ooxml::OOXMLDocumentFactory::createDocument(pDocStream); + ooxml::OOXMLDocument::Pointer_t pDocument(ooxml::OOXMLDocumentFactory::createDocument(pDocStream)); #if 0 TimeValue t1; osl_getSystemTime(&t1); -- cgit v1.2.3