summaryrefslogtreecommitdiff
path: root/xmloff/source/draw
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@sun.com>2010-02-22 16:56:21 +0100
committerChristian Lippka <christian.lippka@sun.com>2010-02-22 16:56:21 +0100
commit57684db80b31ec34e3d6c0c59a8bb28ff708a330 (patch)
tree87e07c7590efc72e104d7442e54bbde5caf817fc /xmloff/source/draw
parent3c550e9f7bdd8c9f1f75f4148f516ddc94290f92 (diff)
#i102747# correctly import non table child elements for table shapes
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r--xmloff/source/draw/ximpshap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index c4c86abb7eef..07c6f8f62152 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -3671,7 +3671,7 @@ void SdXMLTableShapeContext::processAttribute( sal_uInt16 nPrefix, const ::rtl::
SvXMLImportContext* SdXMLTableShapeContext::CreateChildContext( USHORT nPrefix, const ::rtl::OUString& rLocalName, const uno::Reference<xml::sax::XAttributeList>& xAttrList )
{
- if( mxTableImportContext.Is() )
+ if( mxTableImportContext.Is() && (nPrefix == XML_NAMESPACE_TABLE) )
return mxTableImportContext->CreateChildContext(nPrefix, rLocalName, xAttrList);
else
return SdXMLShapeContext::CreateChildContext(nPrefix, rLocalName, xAttrList);