Skip to content

Commit 84064ac

Browse files
author
Dimitri van Heesch
committed
Fix warning about unused functions in qstring.cpp
1 parent ec291cb commit 84064ac

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

qtools/qstring.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11492,8 +11492,6 @@ int QLigature::match(QString & str, unsigned int index)
1149211492
return 0;
1149311493
}
1149411494

11495-
#endif
11496-
1149711495
// this function is just used in QString::compose()
1149811496
static inline bool format(QChar::Decomposition tag, QString & str,
1149911497
int index, int len)
@@ -11525,6 +11523,7 @@ static inline bool format(QChar::Decomposition tag, QString & str,
1152511523
return (!right && !left);
1152611524
}
1152711525
} // format()
11526+
#endif
1152811527

1152911528
/*
1153011529
QString::compose() and visual() were developed by Gordon Tisher
@@ -11602,7 +11601,6 @@ static inline bool is_arabic(unsigned short x) {
1160211601
((x >= 0xfb50) && (x <= 0xfdff)) ||
1160311602
((x >= 0xfe70) && (x <= 0xfeff)));
1160411603
}
11605-
#endif
1160611604

1160711605
static inline bool is_neutral(unsigned short dir) {
1160811606
return ((dir == QChar::DirB) ||
@@ -11611,6 +11609,7 @@ static inline bool is_neutral(unsigned short dir) {
1161111609
(dir == QChar::DirON) ||
1161211610
(dir == QChar::DirNSM));
1161311611
}
11612+
#endif
1161411613

1161511614
/*!
1161611615
This function returns the basic directionality of the string (QChar::DirR for

0 commit comments

Comments
 (0)