summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/sdxmlimp.cxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-11-08 14:44:42 +0000
committerChristian Lippka <cl@openoffice.org>2001-11-08 14:44:42 +0000
commit371e59270e24ee7e604e67e14aa11e221c480fc6 (patch)
tree1a448aec7d67478a59dfac174a5e1c70d5a168a6 /xmloff/source/draw/sdxmlimp.cxx
parentf3d7697e39e4899bf0d16c93927b0bef56a37b33 (diff)
#94204# create presentation shapes only when supported
Diffstat (limited to 'xmloff/source/draw/sdxmlimp.cxx')
-rw-r--r--xmloff/source/draw/sdxmlimp.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx
index 1f4d44ff1853..05a9409980b4 100644
--- a/xmloff/source/draw/sdxmlimp.cxx
+++ b/xmloff/source/draw/sdxmlimp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sdxmlimp.cxx,v $
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: thb $ $Date: 2001-10-24 15:22:21 $
+ * last change: $Author: cl $ $Date: 2001-11-08 15:40:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -566,10 +566,6 @@ SdXMLImport::SdXMLImport( sal_Bool bIsDraw, sal_uInt16 nImportFlags )
GetXMLToken(XML_NP_PRESENTATION),
GetXMLToken(XML_N_PRESENTATION),
XML_NAMESPACE_PRESENTATION);
-
- // #88546# enable progress bar increments, SdXMLImport is only used for
- // draw/impress import
- GetShapeImport()->enableHandleProgressBar();
}
// XImporter
@@ -609,6 +605,10 @@ void SAL_CALL SdXMLImport::setTargetDocument( const uno::Reference< lang::XCompo
mxDocDrawPages->getByIndex(0) >>= xFormsSupp;
mbIsFormsSupported = xFormsSupp.is();
}
+
+ // #88546# enable progress bar increments, SdXMLImport is only used for
+ // draw/impress import
+ GetShapeImport()->enableHandleProgressBar();
}
// XInitialization