diff options
author | Martin Gallwey <mtg@openoffice.org> | 2002-01-23 13:48:38 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2002-01-23 13:48:38 +0000 |
commit | bf0f1fb5dfa0fe6f48f763d8275ae95efcda3604 (patch) | |
tree | f6047b996d7abf8df7e06e37d963a7202cf8a922 /sw | |
parent | c665d761fbf472ca3069874da8465ae81174ec10 (diff) |
#96875# Export the office namespace so that are able to re-import new text-only auto text blocks
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/swg/SwXMLBlockExport.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/core/swg/SwXMLBlockExport.cxx b/sw/source/core/swg/SwXMLBlockExport.cxx index 9c2c5be2ded3..86aa004d3d0d 100644 --- a/sw/source/core/swg/SwXMLBlockExport.cxx +++ b/sw/source/core/swg/SwXMLBlockExport.cxx @@ -2,9 +2,9 @@ * * $RCSfile: SwXMLBlockExport.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: dvo $ $Date: 2001-10-26 18:14:26 $ + * last change: $Author: mtg $ $Date: 2002-01-23 14:48:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -144,6 +144,9 @@ sal_uInt32 SwXMLTextBlockExport::exportDoc(const String &rText) AddAttribute ( XML_NAMESPACE_NONE, _GetNamespaceMap().GetAttrNameByKey ( XML_NAMESPACE_TEXT ), _GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_TEXT ) ); + AddAttribute ( XML_NAMESPACE_NONE, + _GetNamespaceMap().GetAttrNameByKey ( XML_NAMESPACE_OFFICE ), + _GetNamespaceMap().GetNameByKey ( XML_NAMESPACE_OFFICE ) ); AddAttribute( XML_NAMESPACE_BLOCKLIST, XML_LIST_NAME, OUString (rBlockList.GetName())); |