From 75f2945476a80e33f7ec29d42f04244467b04e1e Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 18 May 2020 11:22:02 +0200 Subject: Get rid of the QTextCodec dependency in linguist Change-Id: I9f09578b816ff24a23e17b3255ac93c5eb7c321e Reviewed-by: Liang Qi --- src/linguist/shared/xliff.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/linguist/shared/xliff.cpp') diff --git a/src/linguist/shared/xliff.cpp b/src/linguist/shared/xliff.cpp index e1cc64c59..7d869e06f 100644 --- a/src/linguist/shared/xliff.cpp +++ b/src/linguist/shared/xliff.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include // The string value is historical and reflects the main purpose: Keeping @@ -757,7 +756,6 @@ bool saveXLIFF(const Translator &translator, QIODevice &dev, ConversionData &cd) int indent = 0; QTextStream ts(&dev); - ts.setCodec(QTextCodec::codecForName("UTF-8")); QStringList dtgs = cd.dropTags(); dtgs << QLatin1String("po-(old_)?msgid_plural"); -- cgit v1.2.3