diff options
author | Andras Timar <atimar@suse.com> | 2012-11-13 11:40:10 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-11-13 11:40:10 +0100 |
commit | deaceba0c27040ad9982b16e2be8745f6bd1605a (patch) | |
tree | 155863c9901a8673a57036dfdd1d83d517cdddcf /l10ntools/source/xrmmerge.cxx | |
parent | 06ec1c089519ef3249464aa09eadf03a8db93a39 (diff) |
XML tag check in help and readme translations
Change-Id: Iec88ae875e00777f499cd0044f256275d854dca8
Diffstat (limited to 'l10ntools/source/xrmmerge.cxx')
-rw-r--r-- | l10ntools/source/xrmmerge.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx index a3eb0e5418ee..b4868f5f8623 100644 --- a/l10ntools/source/xrmmerge.cxx +++ b/l10ntools/source/xrmmerge.cxx @@ -27,6 +27,7 @@ #include "export.hxx" #include "xrmmerge.hxx" #include "tokens.h" +#include "helper.hxx" #include <iostream> #include <fstream> #include <vector> @@ -606,7 +607,8 @@ void XRMResMerge::WorkOnText( if ( Export::isAllowed( sLang ) && ( pEntrys->GetText( sContent, STRING_TYP_TEXT, sLang )) && - ( sContent != "-" ) && !sContent.isEmpty()) + ( sContent != "-" ) && !sContent.isEmpty() && + helper::isWellFormedXML( sContent )) { rText = sContent; |