summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-12-10 12:06:11 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-12-13 11:48:34 +0100
commitecfb83d7463bed7c89baeccc03286c1ac9956d70 (patch)
treef851f48862a9a8f3538e32508cadd81bf94279ec /include/svtools
parent80eb86b7e697751d24ca12310e6b6e23a1bb54cf (diff)
tdf#146048: detect UTF-16 without BOM
Change-Id: I3c1742cdf88dfa08cf35d9f95875d4d3d6af09db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126596 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 3392f567be8d52804b187b0bced47204ef38fa3c) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126600 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/svparser.hxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx
index b0ba450a7285..d54b4a972f15 100644
--- a/include/svtools/svparser.hxx
+++ b/include/svtools/svparser.hxx
@@ -62,7 +62,6 @@ protected:
sal_uInt64 nNextChPos;
sal_uInt32 nNextCh; // current character codepoint in UTF32 for the "lex"
- bool bUCS2BSrcEnc : 1; // or as big-endian UCS2
bool bSwitchToUCS2 : 1; // switching is allowed
bool bRTF_InTextRead : 1; // only for RTF-Parser!!!