summaryrefslogtreecommitdiff
path: root/xmloff/source/style/HatchStyle.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/HatchStyle.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/HatchStyle.cxx')
-rw-r--r--xmloff/source/style/HatchStyle.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/xmloff/source/style/HatchStyle.cxx b/xmloff/source/style/HatchStyle.cxx
index 85b901f9ef02..eca0dd2b0212 100644
--- a/xmloff/source/style/HatchStyle.cxx
+++ b/xmloff/source/style/HatchStyle.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: HatchStyle.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: cl $ $Date: 2001-01-24 18:48:25 $
+ * 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
@@ -105,6 +105,7 @@
using namespace ::com::sun::star;
using namespace ::rtl;
+using namespace ::xmloff::token;
enum SvXMLTokenMapAttrs
{
@@ -128,10 +129,10 @@ static __FAR_DATA SvXMLTokenMapEntry aHatchAttrTokenMap[] =
SvXMLEnumMapEntry __READONLY_DATA pXML_HatchStyle_Enum[] =
{
- { sXML_hatchstyle_single, drawing::HatchStyle_SINGLE },
- { sXML_hatchstyle_double, drawing::HatchStyle_DOUBLE },
- { sXML_hatchstyle_triple, drawing::HatchStyle_TRIPLE },
- { 0, 0 }
+ { XML_HATCHSTYLE_SINGLE, drawing::HatchStyle_SINGLE },
+ { XML_HATCHSTYLE_DOUBLE, drawing::HatchStyle_DOUBLE },
+ { XML_HATCHSTYLE_TRIPLE, drawing::HatchStyle_TRIPLE },
+ { XML_TOKEN_INVALID, 0 }
};
XMLHatchStyle::XMLHatchStyle( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & _rHandler,