From 3b040717aafa7d028711dac8ba79aed5dba95e9a Mon Sep 17 00:00:00 2001 From: Christian Lippka Date: Mon, 13 Nov 2000 08:18:29 +0000 Subject: [PATCH] only export binaries in test case --- sd/source/filter/xml/sdxmlwrp.cxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx index 898f87970844..15e00f5c92d2 100644 --- a/sd/source/filter/xml/sdxmlwrp.cxx +++ b/sd/source/filter/xml/sdxmlwrp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sdxmlwrp.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: cl $ $Date: 2000-11-08 12:41:52 $ + * last change: $Author: cl $ $Date: 2000-11-13 09:18:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -314,10 +314,14 @@ BOOL SdXMLWrapper::Export() uno::Reference xHandler(xWriter, uno::UNO_QUERY); OUString sFileName = mrMedium.GetName(); + +#ifdef XMLTESTBIN uno::Reference xPacker = new URLPacker(sFileName, xHandler, sal_False, sal_True); SdXMLExport aExp(mxLocalModel, sFileName, xPacker, mbShowProgress, IsDraw()); -// SdXMLExport aExp(mxLocalModel, sFileName, xHandler, mbShowProgress, IsDraw()); +#else + SdXMLExport aExp(mxLocalModel, sFileName, xHandler, mbShowProgress, IsDraw()); +#endif // give string descriptor as parameter for doc type BOOL bRet = (0 == aExp.exportDoc( IsDraw() ? sXML_drawing : sXML_impress ));