summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/export.hxx2
-rw-r--r--l10ntools/source/export.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index 3c59d46d0198..8e8f57439bbe 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -162,8 +162,6 @@ private:
static void CutComment( OString &rText );
- void WriteUTF8ByteOrderMarkToOutput() { *aOutput.mSimple << '\xEF' << '\xBB' << '\xBF'; }
-
public:
Export( const OString &rOutput );
Export(const OString &rMergeSource, const OString &rOutput, bool bUTF8BOM);
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index bb1aeab116ae..5a29d8d9a265 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -236,7 +236,8 @@ Export::Export(
std::exit(EXIT_FAILURE);
}
- if ( bUTF8BOM ) WriteUTF8ByteOrderMarkToOutput();
+ if ( bUTF8BOM )
+ *aOutput.mSimple << '\xEF' << '\xBB' << '\xBF';
}
void Export::Init()