summaryrefslogtreecommitdiff
path: root/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-07-02 21:46:44 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-07-02 21:46:57 +0200
commit4f76bcd12bb363c0d053c03c5de350c71fdb285f (patch)
tree33fe763dba3b2f1ed99566b907c3c78c4ef21682 /writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
parentdcc030cc8dd21e11da01ed50865da617b689a043 (diff)
writerfilter: remove commented out code chunks
Change-Id: Ib303edb8962b70727624ff44a8bb957e10362529
Diffstat (limited to 'writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx')
-rw-r--r--writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
index 0997b472a28e..1a9c434b9855 100644
--- a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
+++ b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
@@ -107,24 +107,6 @@ sal_Int32 SAL_CALL ScannerTestService::run( const uno::Sequence< rtl::OUString >
ooxml::OOXMLDocument::Pointer_t pDocument
(ooxml::OOXMLDocumentFactory::createDocument(pDocStream));
-#if 0
- uno::Reference<text::XTextDocument> xDocument
- (xFactory->createInstanceWithContext
- (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM
- ("com.sun.star.text.TextDocument")),
- xContext), uno::UNO_QUERY_THROW );
- uno::Reference<frame::XModel> xModel
- (xDocument, uno::UNO_QUERY_THROW);
-
- uno::Reference<drawing::XDrawPageSupplier> xDrawPageSupplier
- (xDocument, uno::UNO_QUERY_THROW);
- uno::Reference<drawing::XShapes> xShapes
- (xDrawPageSupplier->getDrawPage(), uno::UNO_QUERY_THROW);
-
- pDocument->setModel(xModel);
- pDocument->setShapes(xShapes);
-#endif
-
Stream::Pointer_t pStream = createStreamHandler();
pDocument->resolve(*pStream);