diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-24 13:22:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-25 09:05:10 +0200 |
commit | c2775560ab2fa6166b2ce6fa2811ab10a0ffebe8 (patch) | |
tree | e46b2fd5354b57a5781270ea53ecb683ba61a8e2 /l10ntools/source/xrmmerge.cxx | |
parent | 63a6de2cab00e949751fcb35f4814844fc4ec71e (diff) |
convert STRING_TYP to scoped enum
Change-Id: If0bcc6e13864fd534eb65eda06b1bc2b5498cee9
Diffstat (limited to 'l10ntools/source/xrmmerge.cxx')
-rw-r--r-- | l10ntools/source/xrmmerge.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx index 457c4f28db91..0feb4e023815 100644 --- a/l10ntools/source/xrmmerge.cxx +++ b/l10ntools/source/xrmmerge.cxx @@ -411,7 +411,7 @@ void XRMResMerge::WorkOnDesc( OString sContent; if ( !sCur.equalsIgnoreAsciiCase("en-US") && ( pEntrys->GetText( - sContent, STRING_TYP_TEXT, sCur, true )) && + sContent, StringType::Text, sCur, true )) && !sContent.isEmpty()) { OString sText( sContent ); @@ -499,7 +499,7 @@ void XRMResMerge::EndOfText( OString sContent; if (!sCur.equalsIgnoreAsciiCase("en-US") && ( pEntrys->GetText( - sContent, STRING_TYP_TEXT, sCur, true )) && + sContent, StringType::Text, sCur, true )) && !sContent.isEmpty() && helper::isWellFormedXML( sContent )) { |