summaryrefslogtreecommitdiff
path: root/textproc/cbedic/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/cbedic/files')
-rw-r--r--textproc/cbedic/files/patch-database.cpp11
-rw-r--r--textproc/cbedic/files/patch-registry.cpp29
-rw-r--r--textproc/cbedic/files/patch-src__cbedic.cpp16
-rw-r--r--textproc/cbedic/files/patch-translator.cpp38
4 files changed, 0 insertions, 94 deletions
diff --git a/textproc/cbedic/files/patch-database.cpp b/textproc/cbedic/files/patch-database.cpp
deleted file mode 100644
index a42f3b956a3a..000000000000
--- a/textproc/cbedic/files/patch-database.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/database.cpp.orig Sat Aug 9 19:23:43 2003
-+++ src/database.cpp Sat Aug 9 19:24:03 2003
-@@ -106,7 +106,7 @@
- // Open data file and set some variables
- // Return true if success, false if failed
- //========================================================================
--bool Database::createDictionary(const char *fileName, const long fixedLastWordPointer = 0) {
-+bool Database::createDictionary(const char *fileName, const long fixedLastWordPointer) {
- // Ensure against invoking twice
- if (dataFile != NULL) {
- return false;
diff --git a/textproc/cbedic/files/patch-registry.cpp b/textproc/cbedic/files/patch-registry.cpp
deleted file mode 100644
index ea643ccdf73c..000000000000
--- a/textproc/cbedic/files/patch-registry.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
---- src/registry.cpp.orig Sat Aug 9 19:21:50 2003
-+++ src/registry.cpp Sat Aug 9 19:22:52 2003
-@@ -79,7 +79,7 @@
- //=== Get String =========================================================
- // Return the value of key, if missed return default value
- //========================================================================
--char *Registry::getString(const char *property, const char *defaultValue = "") {
-+char *Registry::getString(const char *property, const char *defaultValue ) {
- bool found = false;
- char *ret = NULL;
- FILE *f;
-@@ -113,7 +113,7 @@
- //=== Get Int ============================================================
- // Return the value of key, if missed return default value
- //========================================================================
--int Registry::getInt(const char *property, const int defaultValue = 0) {
-+int Registry::getInt(const char *property, const int defaultValue) {
- int ret = defaultValue;
- char *p;
- p = getString(property);
-@@ -141,7 +141,7 @@
- //=== Get Bool ===========================================================
- // Return the value of key, if missed return default value
- //========================================================================
--bool Registry::getBool(const char *property, const bool defaultValue = false) {
-+bool Registry::getBool(const char *property, const bool defaultValue) {
- bool ret = defaultValue;
- char *p;
- p = getString(property);
diff --git a/textproc/cbedic/files/patch-src__cbedic.cpp b/textproc/cbedic/files/patch-src__cbedic.cpp
deleted file mode 100644
index 1d7fcab02e72..000000000000
--- a/textproc/cbedic/files/patch-src__cbedic.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/cbedic.cpp.old Fri Dec 12 04:51:13 2003
-+++ src/cbedic.cpp Fri Dec 12 04:51:35 2003
-@@ -24,10 +24,12 @@
- **********************************************************************/
-
-
--#include <iostream.h>
-+#include <iostream>
- #include <stdlib.h>
- #include <unistd.h>
- #include <string.h>
-+
-+using namespace std;
-
- #include "defaults.h"
- #include "translator.h"
diff --git a/textproc/cbedic/files/patch-translator.cpp b/textproc/cbedic/files/patch-translator.cpp
deleted file mode 100644
index 4333f9854924..000000000000
--- a/textproc/cbedic/files/patch-translator.cpp
+++ /dev/null
@@ -1,38 +0,0 @@
---- src/translator.cpp.orig Sat Aug 9 19:24:42 2003
-+++ src/translator.cpp Sat Aug 9 19:26:11 2003
-@@ -119,7 +119,7 @@
- // Real construcor
- // Call the same method of Database, and return same result
- //========================================================================
--bool Translator::createDictionary(const char *fileName, const int dictionary, const long fixedLastWordPointer = 0) {
-+bool Translator::createDictionary(const char *fileName, const int dictionary, const long fixedLastWordPointer) {
- bool ret = false;
- switch (dictionary) {
- case ENG_BUL:
-@@ -275,7 +275,7 @@
- // Return true if passed word is legal bulgarian word as LATIN_INPUT
- // Return pointer to new word that is legal dictionary word
- //========================================================================
--bool Translator::isLatinInput(const char *word, char *buf, const bool ignoreSpace = false) {
-+bool Translator::isLatinInput(const char *word, char *buf, const bool ignoreSpace ) {
- int i = 0;
- char *p;
- while (word[i] != '\0') {
-@@ -304,7 +304,7 @@
- // to a normal latin output
- // Change buffer and return pointer to new word
- //========================================================================
--char *Translator::toLatin(const char *word, char *buf, const bool legalLatinInput = true) {
-+char *Translator::toLatin(const char *word, char *buf, const bool legalLatinInput ) {
- int i = 0;
- int j = 0;
- char *p;
-@@ -348,7 +348,7 @@
- // Call the same method of Database, and return same result
- // But perform some operations
- //========================================================================
--char *Translator::getWord(const bool lowerCase = true, const bool legalLatinInput = true) {
-+char *Translator::getWord(const bool lowerCase, const bool legalLatinInput ) {
- char *ret = NULL;
- switch (currentDictionary) {
- case ENG_BUL: