CppTools: Remove function replicating standard library functionality.

Change-Id: I0778aa3d91d8c62fcce7e07e2ceffa1970281ec6
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
Christian Kandeler
2011-10-25 14:06:39 +02:00
parent 1b4cf42c1c
commit 6820f22bbd
3 changed files with 3 additions and 11 deletions

View File

@@ -35,8 +35,6 @@
#include <QtGui/QTextDocument>
#include <QtGui/QTextCursor>
#include <cctype>
namespace CppTools {
void moveCursorToEndOfIdentifier(QTextCursor *tc) {
@@ -51,11 +49,4 @@ void moveCursorToEndOfIdentifier(QTextCursor *tc) {
}
}
bool isHexadecimal(char c)
{
return std::isdigit(c)
|| (c >= 'a' && c <= 'f')
|| (c >= 'A' && c <= 'F');
}
} // CppTools

View File

@@ -8,7 +8,6 @@ QT_FORWARD_DECLARE_CLASS(QTextCursor)
namespace CppTools {
void CPPTOOLS_EXPORT moveCursorToEndOfIdentifier(QTextCursor *tc);
bool CPPTOOLS_EXPORT isHexadecimal(char c);
} // CppTools