Kaydet (Commit) 2af0870f authored tarafından Michael Stahl's avatar Michael Stahl

xmloff: document potential pitfall with SvI18NMap usage

Change-Id: I37050203f9d7b4f04b6d0b0dc5c4e04855d017f7
üst 27bdc70d
......@@ -362,6 +362,17 @@ enum XMLTextType
XML_TEXT_TYPE_CHANGED_REGION
};
/// variable type (for XMLSetVarFieldImportContext)
enum VarType
{
VarTypeSimple,
VarTypeUserField,
VarTypeSequence
// see following NOTE!
};
// NOTE: these values must be distinct from any in "enum VarType" because they
// are used as keys to SvI18NMap::Add()
#define XML_TEXT_RENAME_TYPE_FRAME 10
#define XML_TEXT_RENAME_TYPE_TABLE 20
......
......@@ -30,17 +30,6 @@
#include <com/sun/star/beans/XPropertySetInfo.hpp>
/// variable type (for XMLSetVarFieldImportContext)
enum VarType
{
VarTypeSimple,
VarTypeUserField,
VarTypeSequence
};
/** helper class: parses value-type and associated value attributes */
class XMLValueImportHelper
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment