diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-03-20 07:05:15 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-03-20 07:05:15 +0000 |
commit | e1638b80689e651ac114be9b51449724fdf773db (patch) | |
tree | 2c663074a6943e72b8518688f5e142bb46499705 /xmloff/source/forms/layerimport.cxx | |
parent | 7176219db92e18e81bc10009bba9b8e59e117786 (diff) |
#85514# added an attribute to the map for compatibility to old (buggy) files
Diffstat (limited to 'xmloff/source/forms/layerimport.cxx')
-rw-r--r-- | xmloff/source/forms/layerimport.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/xmloff/source/forms/layerimport.cxx b/xmloff/source/forms/layerimport.cxx index 8e019820c6..71d08e7bb3 100644 --- a/xmloff/source/forms/layerimport.cxx +++ b/xmloff/source/forms/layerimport.cxx @@ -2,9 +2,9 @@ * * $RCSfile: layerimport.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: fs $ $Date: 2001-02-28 16:42:16 $ + * last change: $Author: fs $ $Date: 2001-03-20 08:05:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -268,6 +268,13 @@ namespace xmloff OAttributeMetaData::getFormAttributeName(faEnctype), PROPERTY_SUBMIT_ENCODING, FormSubmitEncoding_URL, OEnumMapper::getEnumMap(OEnumMapper::epSubmitEncoding), &::getCppuType( static_cast<FormSubmitEncoding*>(NULL) )); +#if SUPD<628 + // for compatibility: + m_aAttributeMetaData.addEnumProperty( + "enc-type", PROPERTY_SUBMIT_ENCODING, + FormSubmitEncoding_URL, OEnumMapper::getEnumMap(OEnumMapper::epSubmitEncoding), + &::getCppuType( static_cast<FormSubmitEncoding*>(NULL) )); +#endif m_aAttributeMetaData.addEnumProperty( OAttributeMetaData::getFormAttributeName(faMethod), PROPERTY_SUBMIT_METHOD, FormSubmitMethod_GET, OEnumMapper::getEnumMap(OEnumMapper::epSubmitMethod), @@ -485,6 +492,9 @@ namespace xmloff /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.9 2001/02/28 16:42:16 fs + * State/DefaultState are int16-properties + * * Revision 1.8 2001/02/01 09:46:47 fs * no own style handling anymore - the shape exporter is responsible for our styles now * |