summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-04-01 18:48:32 +0200
committerMichael Stahl <mstahl@redhat.com>2017-04-03 19:19:10 +0000
commitdf039e89c5d2f8f3ccfaa0001885f3e532537fb6 (patch)
tree875143f4335444e02faa789f6f62c557beab018d /editeng
parent282b3e8c4d45aacae57e3542b872cdbfebcc7195 (diff)
Remove DBG_ASSERT since it's always wrong
Indeed EditHTMLParser constructor calls HTMLParser constructor, the last one calls "SetSrcEncoding(RTL_TEXTENCODING_UTF8);" Change-Id: If749674c3d4f2b9f9fccbf0b99f1e7d62fd0450d Reviewed-on: https://gerrit.libreoffice.org/36011 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/eehtml.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx
index 1d8c87c59598..06db8143e594 100644
--- a/editeng/source/editeng/eehtml.cxx
+++ b/editeng/source/editeng/eehtml.cxx
@@ -51,7 +51,6 @@ EditHTMLParser::EditHTMLParser( SvStream& rIn, const OUString& rBaseURL, SvKeyVa
nInCell(0),
nDefListLevel(0)
{
- DBG_ASSERT( RTL_TEXTENCODING_DONTKNOW == GetSrcEncoding( ), "EditHTMLParser::EditHTMLParser: Where does the encoding come from?" );
DBG_ASSERT( !IsSwitchToUCS2(), "EditHTMLParser::::EditHTMLParser: Switch to UCS2?" );
// Although the real default encoding is ISO8859-1, we use MS-1252