summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 09:51:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 08:41:38 +0000
commit1a743fd8a27d063525e3567619a2971770c61574 (patch)
tree0bbb838762285342beab2711e867ff695a05a7b7 /l10ntools
parentbc57a3e319bccb2d48549a3134d5dcd4336d4533 (diff)
loplugin:expandablemethods in hwpfilter..linguistic
Change-Id: I62ae20ab4a47b3b7e2b0d503cedcad3319cc9c85 Reviewed-on: https://gerrit.libreoffice.org/30683 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
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()