From b01a6a4663489bf7f4fe0842a492e452204de564 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Mon, 1 Sep 2014 11:18:21 +0200 Subject: C++: IndexItem cleanup: remove a bit of clutter. Change-Id: I758980009df4f7ef86fa2b5e3f4d44ccf3fc3fe3 Reviewed-by: Nikolai Kosjar --- src/plugins/cpptools/builtinindexingsupport.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/cpptools/builtinindexingsupport.cpp') diff --git a/src/plugins/cpptools/builtinindexingsupport.cpp b/src/plugins/cpptools/builtinindexingsupport.cpp index cd2386a6bb..295afead9c 100644 --- a/src/plugins/cpptools/builtinindexingsupport.cpp +++ b/src/plugins/cpptools/builtinindexingsupport.cpp @@ -308,8 +308,7 @@ public: info->unqualifiedNameAndScope(info->symbolName(), &name, &scope); text = name + info->symbolType(); } else if (info->type() == IndexItem::Declaration){ - text = IndexItem::representDeclaration(info->symbolName(), - info->symbolType()); + text = info->representDeclaration(); } Core::SearchResultItem item; -- cgit v1.2.1