summaryrefslogtreecommitdiffstats
path: root/qtools/qtextcodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qtextcodec.cpp')
-rw-r--r--qtools/qtextcodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qtextcodec.cpp b/qtools/qtextcodec.cpp
index cdecfce..fbbc1f9 100644
--- a/qtools/qtextcodec.cpp
+++ b/qtools/qtextcodec.cpp
@@ -925,6 +925,7 @@ struct QMultiByteUnicodeTable {
QMultiByteUnicodeTable* multibyte;
};
+#ifndef QT_NO_CODECS
static int getByte(char* &cursor)
{
int byte = 0;
@@ -939,7 +940,6 @@ static int getByte(char* &cursor)
return byte&0xff;
}
-#ifndef QT_NO_CODECS
class QTextCodecFromIOD;
class QTextCodecFromIODDecoder : public QTextDecoder {