From 89a0387a4e421c49ad4159ef99032371fbe6ac16 Mon Sep 17 00:00:00 2001 From: Daniel Vogelheim Date: Fri, 15 Jun 2001 09:37:08 +0000 Subject: #86004# #88312# - changed convertEnum and appropriate maps to use token constants (rahter than sal_Char*) - user index marks in the process --- xmloff/source/text/XMLTextColumnsContext.cxx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'xmloff/source/text/XMLTextColumnsContext.cxx') 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 -- cgit v1.2.3