summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmltabe.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/style/xmltabe.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/style/xmltabe.cxx')
-rw-r--r--xmloff/source/style/xmltabe.cxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/xmloff/source/style/xmltabe.cxx b/xmloff/source/style/xmltabe.cxx
index c7a5ffdb7922..0d1cd26291d5 100644
--- a/xmloff/source/style/xmltabe.cxx
+++ b/xmloff/source/style/xmltabe.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmltabe.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: mib $ $Date: 2001-05-16 11:31:05 $
+ * last change: $Author: dvo $ $Date: 2001-06-15 10:37:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -97,15 +97,16 @@
using namespace ::rtl;
using namespace ::com::sun::star;
+using namespace ::xmloff::token;
SvXMLEnumMapEntry psXML_tabstop_style[] =
{
- { "left", style::TabAlign_LEFT },
- { "center", style::TabAlign_CENTER },
- { "right", style::TabAlign_RIGHT },
- { "char", style::TabAlign_DECIMAL },
- { "default", style::TabAlign_DEFAULT }, // ?????????????????????????????????????
- { 0, 0 }
+ { XML_LEFT, style::TabAlign_LEFT },
+ { XML_CENTER, style::TabAlign_CENTER },
+ { XML_RIGHT, style::TabAlign_RIGHT },
+ { XML_CHAR, style::TabAlign_DECIMAL },
+ { XML_DEFAULT, style::TabAlign_DEFAULT }, // ?????????????????????????????????????
+ { XML_TOKEN_INVALID, 0 }
};
void SvxXMLTabStopExport::exportTabStop( const ::com::sun::star::style::TabStop* pTabStop )