diff options
Diffstat (limited to 'src/tools/qglobal.cpp')
-rw-r--r-- | src/tools/qglobal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qglobal.cpp b/src/tools/qglobal.cpp index 3a3317915..84b26a6bc 100644 --- a/src/tools/qglobal.cpp +++ b/src/tools/qglobal.cpp @@ -181,7 +181,7 @@ OSErr qt_mac_create_fsspec(const TQString &file, FSSpec *spec) return ret; } -CFStringRef qstring2cfstring(const TQString &str) +CFStringRef tqstring2cfstring(const TQString &str) { return CFStringCreateWithCharacters(0, (UniChar *)str.unicode(), str.length()); } @@ -203,7 +203,7 @@ TQString cfstring2qstring(CFStringRef str) unsigned char *p_str(const TQString &s) { - CFStringRef cfstr = qstring2cfstring(s); + CFStringRef cfstr = tqstring2cfstring(s); uchar *p = (uchar*)malloc(256); CFStringGetPascalString(cfstr, p, 256, CFStringGetSystemEncoding()); CFRelease(cfstr); |