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@klomp.org>
Context
- [PATCH] Reintroduce old deprecated bad spelling of constants. · Mark Wielaard (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.