Commit 4982b0e0 authored by Michael Reeves's avatar Michael Reeves

Drop unused parameter

parent 14371520
......@@ -448,7 +448,7 @@ QStringList SourceData::readAndPreprocess(QTextCodec* pEncoding, bool bAutoDetec
}
}
if(!m_normalData.preprocess(m_pOptions->m_bPreserveCarriageReturn, pEncoding1))
if(!m_normalData.preprocess(pEncoding1))
{
errors.append(i18n("File %1 too large to process. Skipping.", fileNameIn1));
return errors;
......@@ -517,7 +517,7 @@ QStringList SourceData::readAndPreprocess(QTextCodec* pEncoding, bool bAutoDetec
return errors;
}
if(!m_lmppData.preprocess(false, pEncoding2))
if(!m_lmppData.preprocess(pEncoding2))
{
errors.append(i18n("File %1 too large to process. Skipping.", fileNameIn1));
return errors;
......@@ -556,7 +556,7 @@ QStringList SourceData::readAndPreprocess(QTextCodec* pEncoding, bool bAutoDetec
}
/** Prepare the linedata vector for every input line.*/
bool SourceData::FileData::preprocess(bool bPreserveCR, QTextCodec* pEncoding)
bool SourceData::FileData::preprocess(QTextCodec* pEncoding)
{
if(m_pBuf == nullptr)
return true;
......
......@@ -95,7 +95,7 @@ class SourceData
bool readFile(FileAccess& file);
bool readFile(const QString& filename);
bool writeFile(const QString& filename);
bool preprocess(bool bPreserveCR, QTextCodec* pEncoding);
bool preprocess(QTextCodec* pEncoding);
void reset();
Q_DECL_DEPRECATED void removeComments();
Q_DECL_DEPRECATED void copyBufFrom(const FileData& src);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment