summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoComplexText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoComplexText.cpp')
-rw-r--r--lib/kotext/KoComplexText.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/KoComplexText.cpp b/lib/kotext/KoComplexText.cpp
index 4239bf47..54599d07 100644
--- a/lib/kotext/KoComplexText.cpp
+++ b/lib/kotext/KoComplexText.cpp
@@ -55,14 +55,14 @@ KoBidiContext::KoBidiContext( uchar l, TQChar::Direction e, KoBidiContext *p, bo
{
if ( p )
p->ref();
- tqparent = p;
+ parent = p;
count = 0;
}
KoBidiContext::~KoBidiContext()
{
- if( tqparent && tqparent->deref() )
- delete tqparent;
+ if( parent && parent->deref() )
+ delete parent;
}
static TQChar *tqshapeBuffer = 0;
@@ -924,8 +924,8 @@ TQPtrList<KoTextRun> *KoComplexText::bidiReorderLine( KoBidiControl *control, co
TQChar::Direction dirCurrent;
if(current == (int)text.length()) {
KoBidiContext *c = context;
- while ( c->tqparent )
- c = c->tqparent;
+ while ( c->parent )
+ c = c->parent;
dirCurrent = c->dir;
} else if ( current == last ) {
dirCurrent = ( basicDir != TQChar::DirON ? basicDir : basicDirection( text, current ) );
@@ -1008,7 +1008,7 @@ TQPtrList<KoTextRun> *KoComplexText::bidiReorderLine( KoBidiControl *control, co
}
case TQChar::DirPDF:
{
- KoBidiContext *c = context->tqparent;
+ KoBidiContext *c = context->parent;
if(c) {
runs->append( new KoTextRun(sor, eor, context, dir) );
++eor; sor = eor; dir = TQChar::DirON; status.eor = TQChar::DirON;