summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2013-06-08 23:56:49 +0200
committerDavid Tardon <dtardon@redhat.com>2013-06-10 05:00:15 +0000
commit1cee75488205c82e33360ea3c9656e880919e372 (patch)
tree83d3b35b24d19dc242a7e3f82eb0f49bd8cd7a11
parent4f52043f6ee67f899c5d83f0aa55a0d98d50697a (diff)
Reintroduce old deprecated bad spelling of constants.
It seems rather harsh to break source compatability just for fixing up the bad spelling of some constants in a minor release. Lets just say they are deprecated but only remove them when there are other incompatibilities. Change-Id: Ifc685571a5f1a9caa7915f09fcb4d965d1fc5131 Reviewed-on: https://gerrit.libreoffice.org/4201 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
-rw-r--r--src/textcat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/textcat.h b/src/textcat.h
index d9dcd4c..e86e564 100644
--- a/src/textcat.h
+++ b/src/textcat.h
@@ -45,6 +45,11 @@
#define TEXTCAT_RESULT_UNKNOWN 0
#define TEXTCAT_RESULT_SHORT -2
+/* Old deprecated bad spelling. */
+#define _TEXTCAT_RESULT_UNKOWN TEXTCAT_RESULT_UNKNOWN_STR
+#define _TEXTCAT_RESULT_SHORT TEXTCAT_RESULT_SHORT_STR
+#define TEXTCAT_RESULT_UNKOWN TEXTCAT_RESULT_UNKNOWN
+
#ifdef __cplusplus
extern "C"
{