summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoUserStyleCollection.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoUserStyleCollection.h')
-rw-r--r--lib/kotext/KoUserStyleCollection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kotext/KoUserStyleCollection.h b/lib/kotext/KoUserStyleCollection.h
index 9330ca4d..e9a771a9 100644
--- a/lib/kotext/KoUserStyleCollection.h
+++ b/lib/kotext/KoUserStyleCollection.h
@@ -61,7 +61,7 @@ public:
/**
* @return the index of @p style in the collection
*/
- int indexOf( KoUserStyle* style ) const { return m_styleList.tqfindIndex( style ); }
+ int indexOf( KoUserStyle* style ) const { return m_styleList.findIndex( style ); }
/**
* Return the list of all styles in the collection.