Remove unused static functions from qlogging.cpp, qstring.cpp.

Change-Id: I4e9642b5e7fb57ac56511ae06af6ce416d0401ec
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Friedemann Kleint 2012-06-12 09:11:19 +02:00 committed by Qt by Nokia
parent e7c39180be
commit 529a9fbd81
2 changed files with 1 additions and 10 deletions

View File

@ -641,15 +641,6 @@ static void qDefaultMessageHandler(QtMsgType type, const QMessageLogContext &con
#endif
}
/*!
\internal
*/
static void qDefaultMessageHandler2(QtMsgType type, const QMessageLogContext &context,
const char *buf)
{
qDefaultMessageHandler(type, context, QString::fromLocal8Bit(buf));
}
/*!
\internal
*/

View File

@ -3927,7 +3927,7 @@ QByteArray QString::toLatin1() const
\sa fromAscii(), toLatin1(), toUtf8(), toLocal8Bit(), QTextCodec
*/
#if !defined(Q_OS_MAC) && defined(Q_OS_UNIX)
#if !defined(Q_OS_MAC) && defined(Q_OS_UNIX) && !defined(QT_USE_ICU)
static QByteArray toLocal8Bit_helper(const QChar *data, int length)
{
#ifndef QT_NO_TEXTCODEC