writerfilter/inc/doctok/WW8Document.hxx | 11 ----------- writerfilter/source/doctok/WW8DocumentImpl.cxx | 13 ------------- writerfilter/source/filter/ImportFilter.cxx | 7 ------- 3 files changed, 31 deletions(-)
New commits: commit a5097b664a38c7da37955c6e3e56a8078abafcdf Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Wed Sep 25 09:53:51 2013 +0200 writerfilter: remove dead WW8DocumentFactory Change-Id: I9896c3b221d2ec4766b9ee63aadc90bff9c33ea6 diff --git a/writerfilter/inc/doctok/WW8Document.hxx b/writerfilter/inc/doctok/WW8Document.hxx index b624ce7..9300e2f 100644 --- a/writerfilter/inc/doctok/WW8Document.hxx +++ b/writerfilter/inc/doctok/WW8Document.hxx @@ -416,17 +416,6 @@ public: virtual WW8DocumentIterator::Pointer_t end() = 0; }; -class WRITERFILTER_DOCTOK_DLLPUBLIC WW8DocumentFactory -{ -public: - static WW8Stream::Pointer_t - createStream(uno::Reference<uno::XComponentContext> rContext, - uno::Reference<io::XInputStream> rStream); - - static WW8Document * - createDocument(WW8Stream::Pointer_t rpStream); -}; - }} #endif // INCLUDED_WW8_DOCUMENT_HXX diff --git a/writerfilter/source/doctok/WW8DocumentImpl.cxx b/writerfilter/source/doctok/WW8DocumentImpl.cxx index 9e914a4..f55566c 100644 --- a/writerfilter/source/doctok/WW8DocumentImpl.cxx +++ b/writerfilter/source/doctok/WW8DocumentImpl.cxx @@ -1776,19 +1776,6 @@ void WW8DocumentImpl::resolve(Stream & rStream) } -WW8Stream::Pointer_t -WW8DocumentFactory::createStream(uno::Reference<uno::XComponentContext> rContext, - uno::Reference<io::XInputStream> rStream) -{ - return WW8Stream::Pointer_t(new WW8StreamImpl(rContext, rStream)); -} - -WW8Document * -WW8DocumentFactory::createDocument(WW8Stream::Pointer_t rpStream) -{ - return new WW8DocumentImpl(rpStream); -} - writerfilter::Reference<Properties>::Pointer_t WW8SED::get_sepx() { diff --git a/writerfilter/source/filter/ImportFilter.cxx b/writerfilter/source/filter/ImportFilter.cxx index df5604b..784a18a 100644 --- a/writerfilter/source/filter/ImportFilter.cxx +++ b/writerfilter/source/filter/ImportFilter.cxx @@ -167,13 +167,6 @@ sal_Bool WriterFilter::filter( const uno::Sequence< beans::PropertyValue >& aDes aVbaProject.importVbaProject( *xVbaPrjStrg, gHelper ); } } - else - { - writerfilter::doctok::WW8Stream::Pointer_t pDocStream = writerfilter::doctok::WW8DocumentFactory::createStream(m_xContext, xInputStream); - writerfilter::doctok::WW8Document::Pointer_t pDocument(writerfilter::doctok::WW8DocumentFactory::createDocument(pDocStream)); - - pDocument->resolve(*pStream); - } pStream.reset(); #ifdef DEBUG_IMPORT _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits