summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoStyleManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoStyleManager.cpp')
-rw-r--r--lib/kotext/KoStyleManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kotext/KoStyleManager.cpp b/lib/kotext/KoStyleManager.cpp
index 9017d8a1..ef925289 100644
--- a/lib/kotext/KoStyleManager.cpp
+++ b/lib/kotext/KoStyleManager.cpp
@@ -318,7 +318,7 @@ void KoStyleManager::updateGUI() {
}
}
- TQString inheritName = m_currentStyle->tqparentStyle() ? m_currentStyle->tqparentStyle()->displayName() : TQString();
+ TQString inheritName = m_currentStyle->parentStyle() ? m_currentStyle->parentStyle()->displayName() : TQString();
kdDebug(32500) << "KoStyleManager::updateGUI updating combo to " << inheritName << endl;
for ( int i = 0; i < m_inheritCombo->count(); i++ ) {
if ( m_inheritCombo->text( i ) == inheritName ) {
@@ -449,7 +449,7 @@ void KoStyleManager::updateInheritStyle( KoParagStyle *s )
//when we remove style, we must replace inherite style to 0L
//when tqparent style was removed.
//##########Laurent change inherited style attribute
- if ( p->tqparentStyle() == s)
+ if ( p->parentStyle() == s)
p->setParentStyle(0L);
}