summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextColumnsContext.cxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-06-15 09:37:08 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-06-15 09:37:08 +0000
commit89a0387a4e421c49ad4159ef99032371fbe6ac16 (patch)
tree6fc9fb04b06442b64e646d941006e198eb8fe09b /xmloff/source/text/XMLTextColumnsContext.cxx
parent634dff87cf68c27ccb15c8ed44c747b4e9e8d05a (diff)
#86004# #88312#
- changed convertEnum and appropriate maps to use token constants (rahter than sal_Char*) - user index marks in the process
Diffstat (limited to 'xmloff/source/text/XMLTextColumnsContext.cxx')
-rw-r--r--xmloff/source/text/XMLTextColumnsContext.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLTextColumnsContext.cxx b/xmloff/source/text/XMLTextColumnsContext.cxx
index 0475d74b9e61..5c8b74fa0052 100644
--- a/xmloff/source/text/XMLTextColumnsContext.cxx
+++ b/xmloff/source/text/XMLTextColumnsContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLTextColumnsContext.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: dvo $ $Date: 2001-05-15 12:37:49 $
+ * last change: $Author: dvo $ $Date: 2001-06-15 10:37:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -106,6 +106,7 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::style;
using namespace ::com::sun::star::beans;
+using namespace ::xmloff::token;
enum SvXMLTokenMapAttrs
{
@@ -143,10 +144,10 @@ static __FAR_DATA SvXMLTokenMapEntry aColSepAttrTokenMap[] =
SvXMLEnumMapEntry __READONLY_DATA pXML_Sep_Align_Enum[] =
{
- { sXML_top, VerticalAlignment_TOP },
- { sXML_middle, VerticalAlignment_MIDDLE },
- { sXML_bottom, VerticalAlignment_BOTTOM },
- { 0, 0 }
+ { XML_TOP, VerticalAlignment_TOP },
+ { XML_MIDDLE, VerticalAlignment_MIDDLE },
+ { XML_BOTTOM, VerticalAlignment_BOTTOM },
+ { XML_TOKEN_INVALID, 0 }
};
class XMLTextColumnContext_Impl: public SvXMLImportContext