summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2002-02-05 10:09:23 +0000
committerChristian Lippka <cl@openoffice.org>2002-02-05 10:09:23 +0000
commit887a374b3b555ce6bfef11bb79785c88a6e1a5bc (patch)
treec493eee5c42a24855dc6251aac2c742fe534d8e0 /xmloff
parent3db1c30614dc8f921ca4ab1d5efe35b4543b79d0 (diff)
#96645# an OLE2 object with a graphics style may still be a presentation object
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpshap.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 8881e6cc2b4e..caeec253b61b 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximpshap.cxx,v $
*
- * $Revision: 1.73 $
+ * $Revision: 1.74 $
*
- * last change: $Author: cl $ $Date: 2002-01-18 16:36:12 $
+ * last change: $Author: cl $ $Date: 2002-02-05 11:09:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2349,7 +2349,8 @@ void SdXMLObjectShapeContext::StartElement( const ::com::sun::star::uno::Referen
char* pService = "com.sun.star.drawing.OLE2Shape";
- sal_Bool bIsPresShape = isPresentationShape();
+ sal_Bool bIsPresShape = maPresentationClass.getLength() && GetImport().GetShapeImport()->IsPresentationShapesSupported();
+;
if( bIsPresShape )
{