diff options
author | Daniel Vogelheim <dvo@openoffice.org> | 2001-06-15 09:37:08 +0000 |
---|---|---|
committer | Daniel Vogelheim <dvo@openoffice.org> | 2001-06-15 09:37:08 +0000 |
commit | 89a0387a4e421c49ad4159ef99032371fbe6ac16 (patch) | |
tree | 6fc9fb04b06442b64e646d941006e198eb8fe09b /xmloff/source/style/backhdl.cxx | |
parent | 634dff87cf68c27ccb15c8ed44c747b4e9e8d05a (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/backhdl.cxx')
-rw-r--r-- | xmloff/source/style/backhdl.cxx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/xmloff/source/style/backhdl.cxx b/xmloff/source/style/backhdl.cxx index 1c8fe737061e..72c33ad484fe 100644 --- a/xmloff/source/style/backhdl.cxx +++ b/xmloff/source/style/backhdl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: backhdl.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:07:04 $ + * 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 @@ -89,19 +89,20 @@ using namespace ::rtl; using namespace ::com::sun::star; +using namespace ::xmloff::token; SvXMLEnumMapEntry psXML_BrushHorizontalPos[] = { - { sXML_left, style::GraphicLocation_LEFT_MIDDLE }, - { sXML_right, style::GraphicLocation_RIGHT_MIDDLE }, - { 0, 0 } + { XML_LEFT, style::GraphicLocation_LEFT_MIDDLE }, + { XML_RIGHT, style::GraphicLocation_RIGHT_MIDDLE }, + { XML_TOKEN_INVALID, 0 } }; SvXMLEnumMapEntry psXML_BrushVerticalPos[] = { - { sXML_top, style::GraphicLocation_MIDDLE_TOP }, - { sXML_bottom, style::GraphicLocation_MIDDLE_BOTTOM }, - { 0, 0 } + { XML_TOP, style::GraphicLocation_MIDDLE_TOP }, + { XML_BOTTOM, style::GraphicLocation_MIDDLE_BOTTOM }, + { XML_TOKEN_INVALID, 0 } }; /////////////////////////////////////////////////////////////////////////////// |