summaryrefslogtreecommitdiffstats
path: root/src/cite/ooo/ooohandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cite/ooo/ooohandler.cpp')
-rw-r--r--src/cite/ooo/ooohandler.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cite/ooo/ooohandler.cpp b/src/cite/ooo/ooohandler.cpp
index 1741896..d36b3e4 100644
--- a/src/cite/ooo/ooohandler.cpp
+++ b/src/cite/ooo/ooohandler.cpp
@@ -26,13 +26,13 @@ using Tellico::Cite::OOOHandler;
Tellico::Cite::Map OOOHandler::s_fieldsMap;
/*
-QString OOOHandler::OUString2Q(const rtl::OUString& str) {
+TQString OOOHandler::OUString2Q(const rtl::OUString& str) {
const uint len = str.getLength();
- QChar* uni = new QChar[len + 1];
+ TQChar* uni = new TQChar[len + 1];
const sal_Unicode* ouPtr = str.getStr();
const sal_Unicode* ouEnd = ouPtr + len;
- QChar* qPtr = uni;
+ TQChar* qPtr = uni;
while (ouPtr != ouEnd) {
*(qPtr++) = *(ouPtr++);
@@ -40,22 +40,22 @@ QString OOOHandler::OUString2Q(const rtl::OUString& str) {
*qPtr = 0;
- QString ret(uni, len);
+ TQString ret(uni, len);
delete[] uni;
return ret;
}
-rtl::OUString OOOHandler::QString2OU(const QString& str) {
+rtl::OUString OOOHandler::TQString2OU(const TQString& str) {
const uint len = str.length();
sal_Unicode* uni = new sal_Unicode[len + 1];
- const QChar* qPtr = str.unicode();
- const QChar* qEnd = qPtr + len;
+ const TQChar* qPtr = str.tqunicode();
+ const TQChar* qEnd = qPtr + len;
sal_Unicode* uPtr = uni;
while (qPtr != qEnd) {
- *(uPtr++) = (*(qPtr++)).unicode();
+ *(uPtr++) = (*(qPtr++)).tqunicode();
}
*uPtr = 0;