[PATCH] Reintroduce old deprecated bad spelling of constants.

Mark Wielaard (via Code Review) gerrit at gerrit.libreoffice.org
Sat Jun 8 15:13:44 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/4201

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/libexttextcat refs/changes/01/4201/1

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
---
M src/textcat.h
1 file 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"
 {

-- 
To view, visit https://gerrit.libreoffice.org/4201
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc685571a5f1a9caa7915f09fcb4d965d1fc5131
Gerrit-PatchSet: 1
Gerrit-Project: libexttextcat
Gerrit-Branch: master
Gerrit-Owner: Mark Wielaard <mark at klomp.org>



More information about the LibreOffice mailing list