summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-18 13:36:57 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-18 14:30:37 +0100
commit2af0870fae82f1228886fbf37baa15d22ee4d2d1 (patch)
tree9fe43081d7c411511ffd496f71de7b4d3be92e24 /include
parent27bdc70d83d4a4f1ebb89429f61b39084e739aaa (diff)
xmloff: document potential pitfall with SvI18NMap usage
Change-Id: I37050203f9d7b4f04b6d0b0dc5c4e04855d017f7
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/txtimp.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/xmloff/txtimp.hxx b/include/xmloff/txtimp.hxx
index a4bfbd08cd34..6d9239f352ea 100644
--- a/include/xmloff/txtimp.hxx
+++ b/include/xmloff/txtimp.hxx
@@ -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