diff --git a/sd/source/filter/xml/makefile.mk b/sd/source/filter/xml/makefile.mk index 365fedc267cf..8ea885908742 100644 --- a/sd/source/filter/xml/makefile.mk +++ b/sd/source/filter/xml/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.1.1.1 $ +# $Revision: 1.2 $ # -# last change: $Author: hr $ $Date: 2000-09-18 16:48:45 $ +# last change: $Author: cl $ $Date: 2000-11-08 12:41:52 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -75,6 +75,7 @@ ENABLE_EXCEPTIONS=TRUE # --- Files -------------------------------------------------------- SLOFILES = \ + $(SLO)$/pkgurl.obj \ $(SLO)$/sdxmlwrp.obj # --- Targets -------------------------------------------------------------- diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx index f6613a6ac157..898f87970844 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.2 $ + * $Revision: 1.3 $ * - * last change: $Author: cl $ $Date: 2000-10-24 11:00:39 $ + * last change: $Author: cl $ $Date: 2000-11-08 12:41:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -101,7 +101,7 @@ #include #endif -#include +#include "pkgurl.hxx" using namespace com::sun::star; using namespace rtl; @@ -314,10 +314,10 @@ BOOL SdXMLWrapper::Export() uno::Reference xHandler(xWriter, uno::UNO_QUERY); OUString sFileName = mrMedium.GetName(); -// 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()); + 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()); // give string descriptor as parameter for doc type BOOL bRet = (0 == aExp.exportDoc( IsDraw() ? sXML_drawing : sXML_impress ));