You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ja...@apache.org on 2013/03/13 21:34:07 UTC

svn commit: r1456122 - /openoffice/branches/l10n/main/l10ntools/source/gL10nMem.cxx

Author: jani
Date: Wed Mar 13 20:34:07 2013
New Revision: 1456122

URL: http://svn.apache.org/r1456122
Log:
patch to converter part.

Modified:
    openoffice/branches/l10n/main/l10ntools/source/gL10nMem.cxx

Modified: openoffice/branches/l10n/main/l10ntools/source/gL10nMem.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/l10n/main/l10ntools/source/gL10nMem.cxx?rev=1456122&r1=1456121&r2=1456122&view=diff
==============================================================================
--- openoffice/branches/l10n/main/l10ntools/source/gL10nMem.cxx (original)
+++ openoffice/branches/l10n/main/l10ntools/source/gL10nMem.cxx Wed Mar 13 20:34:07 2013
@@ -339,14 +339,16 @@ bool l10nMem_impl::convFilterWarning(con
                                      const std::string& sKey,
                                      const std::string& sOrgText)
 {
-  if (sOrgText == "-"               ||
-      sSourceFile == "basic.src"    ||
-      sSourceFile == "basmsg.src"   ||
-      sSourceFile == "svtmsg.src"   ||
-      sSourceFile == "testtool.src" ||
-      sSourceFile == "ttmsg.src"    )
-    return true;
-
+  if (msModuleName == "basic")
+  {
+    if (sOrgText == "-"               ||
+        sSourceFile == "basic.src"    ||
+        sSourceFile == "basmsg.src"   ||
+        sSourceFile == "svtmsg.src"   ||
+        sSourceFile == "testtool.src" ||
+        sSourceFile == "ttmsg.src"    )
+      return true;
+  }
   return false;
 }