summaryrefslogtreecommitdiffstats
path: root/qtools
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-05-29 14:45:00 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-05-29 14:45:00 (GMT)
commit84064ac4db9e487ca4bff9b6c37eb72992050ee3 (patch)
treebe7a961b4266f2362234a523e024a71f7d78ea24 /qtools
parentec291cb108c42511573db24f8bef74d05912b399 (diff)
downloadDoxygen-84064ac4db9e487ca4bff9b6c37eb72992050ee3.zip
Doxygen-84064ac4db9e487ca4bff9b6c37eb72992050ee3.tar.gz
Doxygen-84064ac4db9e487ca4bff9b6c37eb72992050ee3.tar.bz2
Fix warning about unused functions in qstring.cpp
Diffstat (limited to 'qtools')
-rw-r--r--qtools/qstring.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/qtools/qstring.cpp b/qtools/qstring.cpp
index 95ee509..a1a41d9 100644
--- a/qtools/qstring.cpp
+++ b/qtools/qstring.cpp
@@ -11492,8 +11492,6 @@ int QLigature::match(QString & str, unsigned int index)
return 0;
}
-#endif
-
// this function is just used in QString::compose()
static inline bool format(QChar::Decomposition tag, QString & str,
int index, int len)
@@ -11525,6 +11523,7 @@ static inline bool format(QChar::Decomposition tag, QString & str,
return (!right && !left);
}
} // format()
+#endif
/*
QString::compose() and visual() were developed by Gordon Tisher
@@ -11602,7 +11601,6 @@ static inline bool is_arabic(unsigned short x) {
((x >= 0xfb50) && (x <= 0xfdff)) ||
((x >= 0xfe70) && (x <= 0xfeff)));
}
-#endif
static inline bool is_neutral(unsigned short dir) {
return ((dir == QChar::DirB) ||
@@ -11611,6 +11609,7 @@ static inline bool is_neutral(unsigned short dir) {
(dir == QChar::DirON) ||
(dir == QChar::DirNSM));
}
+#endif
/*!
This function returns the basic directionality of the string (QChar::DirR for