[Libreoffice-commits] libexttextcat.git: src/textcat.h
Mark Wielaard
mark at klomp.org
Sun Jun 9 22:00:32 PDT 2013
src/textcat.h | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 1cee75488205c82e33360ea3c9656e880919e372
Author: Mark Wielaard <mark at klomp.org>
Date: Sat Jun 8 23:56:49 2013 +0200
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 at redhat.com>
Tested-by: David Tardon <dtardon at redhat.com>
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"
{
More information about the Libreoffice-commits
mailing list