diff options
Diffstat (limited to 'app-office/abiword/files/abiword-3.0.0-link-grammar-5-second.patch')
-rw-r--r-- | app-office/abiword/files/abiword-3.0.0-link-grammar-5-second.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-office/abiword/files/abiword-3.0.0-link-grammar-5-second.patch b/app-office/abiword/files/abiword-3.0.0-link-grammar-5-second.patch new file mode 100644 index 000000000000..d9f9cf35ce46 --- /dev/null +++ b/app-office/abiword/files/abiword-3.0.0-link-grammar-5-second.patch @@ -0,0 +1,19 @@ +--- a/plugins/grammar/linkgrammarwrap/LinkGrammarWrap.cpp ++++ b/plugins/grammar/linkgrammarwrap/LinkGrammarWrap.cpp +@@ -223,6 +223,7 @@ + pErr = NULL; + } + ++#ifdef DEAD_DEBUG_CODE + // for(i=0; i< pT->m_vecGrammarErrors.getItemCount(); i++) + // { + // pErr = pT->m_vecGrammarErrors.getNthItem(i); +@@ -231,6 +232,8 @@ + UT_UTF8String sErr = linkage_get_violation_name(linkage); + // UT_DEBUGMSG(("Top Level error message |%s|\n",sErr.utf8_str())); + linkage_delete(linkage); ++#endif // DEAD_DEBUG_CODE ++ + for(i=0; i< vecMapOfWords.getItemCount(); i++) + { + AbiGrammarError * p = vecMapOfWords.getNthItem(i); |