summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/tests/kogenstylestest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/tests/kogenstylestest.cpp')
-rw-r--r--lib/kofficecore/tests/kogenstylestest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/tests/kogenstylestest.cpp b/lib/kofficecore/tests/kogenstylestest.cpp
index 1068cdc43..ef9150f6c 100644
--- a/lib/kofficecore/tests/kogenstylestest.cpp
+++ b/lib/kofficecore/tests/kogenstylestest.cpp
@@ -68,7 +68,7 @@ int testLookup()
third.addProperty( "style:margin-left", "1.249cm" );
third.addProperty( "style:page-number", "0" ); // same as tqparent
third.addProperty( "style:foobar", "3", KoGenStyle::TextType ); // different from tqparent
- assert( third.tqparentName() == secondName );
+ assert( third.parentName() == secondName );
TQString thirdName = coll.lookup( third, "P" );
kdDebug() << "The third style got assigned the name " << thirdName << endl;